SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '590744030d460f02e347b82494402a696a9cdf15bc1ec2f3aee954730b606f48' 
  AND token = 'q/oCh7ZzZ5Zx2bdhXyOhsXLKYJO/Mb8Wfe0nswyCJxc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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