SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5235481b61867e2960bb2dabf46f0b6329a414f54af7a98590e80080e54fa7ee' 
  AND token = '8qhyRN8zUZIpid6kwY7i2qJXCxpJv3aL0n+f+orgjQc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}