SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a8838daa4a7814e400ad63cbf0d717b3cec1d248965dafcd9640af65f591f94' 
  AND token = '9MkHLCg6L/lChdPV1K+V4SHVSzMGSi59QP9b/faU4lY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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