SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e09bf0d2a187779394f7c35d8063406e83d2c9ba036fc554eff47b143991e99' 
  AND token = 'fkMb1yxa7P1ieGifoKiV8cIgOPkprK0ctnqzky3kGug=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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