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

Query time 0.00024

JSON explain

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