SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd22895b6d7b7893169d4139b4a111decb7214fda20a4713c6f0e3868d95952ba' 
  AND token = 'QVLIhpjziYnP02gnw85sSLxNaH0QAOQ3CSFWJITDbwA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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