SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a3a9f4cdcef55ca3c018680972685a207b6ef2aea094ba043b741a1cccef2959' 
  AND token = 'Ye1Kc6WqWZwe/cJoG2IL3oM7k8fbOA3a6Z9v4k2Q8Ro=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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