SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a45803e2f9a4954dcef32f6d7494c5662049fda21e3d2e3d506c2069446a59c' 
  AND token = 'UfD3geIiqzSIKRevUm7h2lvlmotoBU90IYT9lSBuwlI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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