SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1723485b306c8c271c4257220fca442cfde04a37dae8737ad3e66e4eccc7f5e' 
  AND token = 'A4bE0IRXOXcxVdljVIvjFKOVolQYdqW20pRfxa66DVk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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