SELECT 
  data, 
  expiry 
FROM 
  cscart_cache 
WHERE 
  name = 'fn_get_products.cache_customerc42d36ab15e1e8e8f6524b5940d9e292' 
  AND company_id = 0 
  AND (
    expiry = 0 
    OR expiry > 1776179028
  )

Query time 0.00199

JSON explain

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