SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f50f3af4a50504765fca99523145a100edad8196790f0cb111f1611116d8db45' 
  AND token = 'Q4J/pjaUx1iATjvPyFfKPi5ljHswzljX4NskeizpH0E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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