SELECT 
  data, 
  expiry 
FROM 
  cscart_cache 
WHERE 
  name = 'init_storage_settings.cache_customer' 
  AND company_id = 0 
  AND (
    expiry = 0 
    OR expiry > 1776178497
  )

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_cache",
          "access_type": "const",
          "possible_keys": ["PRIMARY", "name", "company_id"],
          "key": "PRIMARY",
          "key_length": "771",
          "used_key_parts": ["name", "company_id"],
          "ref": ["const", "const"],
          "rows": 1,
          "filtered": 100
        }
      }
    ]
  }
}

Result

data expiry
a:1:{s:7:"storage";s:4:"file";} 0