SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '247ad00fd31bdcd4b95572545afea3347170b5cbace1a3678d98a317fd37305d' 
  AND token = 'h3jMKVmG6deNf81KjDlCEOsn95Z2Qk7ThT21w5OlWdc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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