SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7031298957a92f6406a697713625bc13c5bb049b974b85d5ab5c9b33590022b5' 
  AND token = 'fEmWaAlrU3JndQxbot4ZlB+9ELsKmC/DNMjjUOL7s20=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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