SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dde8d9182eff96c5e6aae15cc7effab29fb89ce656160f54c820d97297f605fc' 
  AND token = 'A+RDmfvTXLdl/xyHTGhHYnhfqfC2opR9gme5TwkGUH8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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