SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9265e45b987fddc66b25611ff5cd4713255714dae5a8b375f802b2ea907af635' 
  AND token = '4JK2kzmOtlGDdGB+EVcTp8W7Dztn1YdyOYffil+jz+E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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