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

Query time 0.00091

JSON explain

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