SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9df439cd7950689dbda44974feffa36ca4a1f60a677d76cee1f9c6152de6d735' 
  AND token = 'XGOuQ2LEz8e+xDpHO/DCmKFkfdiJ2VTet/yzphKDFpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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