SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '00372eb17b2e976367c9070e85c5f3678685480b52333040004fe0708514bb56' 
  AND token = 'a6OoUZ8JmIcTaoAemcjU13HJN+Txv8j3quI+vJFQiD8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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