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

Query time 0.00023

JSON explain

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