SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a4177fccf17a66fccd4a6129913b02ba434caee663115a32671fb370e9da323' 
  AND token = 'Eg3VQuMCR5yNV2/FJq6ODkjXQwBuk++xrN447WtqJLQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}