SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5912cb81a86113f1f65ed53dd3992bb00a77c7317aa041037c1a46acb826d76' 
  AND token = '64jPUGYzdKOWasTCJGAqvqBesR7g1d9Z+z/EXjct9rE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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