SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '82c0c21ace5d7c7d23e14f0589ec3518c0ae272de6b9411a1e16495286f206fc' 
  AND token = 'iTIXz0bAvR/Vx8o8sJRQ6iYd9BAf2brsNuQJwA3dQKQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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