SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '626cc7d7484fd42931ba52098601420218b79246c5b732e9dca6e7e9b245518e' 
  AND token = '297aqbRJ+EktmDz9n+S8PYT0y2vsze7Q5m+4q/eIYbk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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