SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddf173aa4a08d95094bd694cab7b71c95d6709c9d8d23513492bf45e492fd575' 
  AND token = 'b6ba9G/hXj1awo1PH7C6GNFbWywYUq0/psav6GFNLLI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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