SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0942de76e264f0cf737fd55aa3975e223592f5cce8cb11aa5e197eba6b4695d4' 
  AND token = 'x575Jke8jS74ve1duarr4pa2u5Ylcvw9OUi7djInIMA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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