SELECT 
  data, 
  expiry 
FROM 
  cscart_cache 
WHERE 
  name = 'scheme_block.cache_customer__1scheme_block_breadcrumbs' 
  AND company_id = 0 
  AND (
    expiry = 0 
    OR expiry > 1781872988
  )

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.00"
    },
    "table": {
      "table_name": "cscart_cache",
      "access_type": "const",
      "possible_keys": [
        "PRIMARY",
        "name",
        "company_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "name",
        "company_id"
      ],
      "key_length": "771",
      "ref": [
        "const",
        "const"
      ],
      "rows_examined_per_scan": 1,
      "rows_produced_per_join": 1,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "0.00",
        "eval_cost": "0.20",
        "prefix_cost": "0.00",
        "data_read_per_join": "1K"
      },
      "used_columns": [
        "name",
        "company_id",
        "data",
        "expiry"
      ]
    }
  }
}

Result

data expiry
a:6:{s:9:"templates";a:1:{s:22:"common/breadcrumbs.tpl";a:1:{s:4:"name";s:11:"breadcrumbs";}}s:8:"wrappers";a:11:{s:34:"blocks/wrappers/footer_general.tpl";a:1:{s:4:"name";s:14:"footer_general";}s:35:"blocks/wrappers/mainbox_general.tpl";a:1:{s:4:"name";s:15:"mainbox_general";}s:34:"blocks/wrappers/mainbox_simple.tpl";a:1:{s:4:"name";s:14:"mainbox_simple";}s:36:"blocks/wrappers/onclick_dropdown.tpl";a:1:{s:4:"name";s:16:"onclick_dropdown";}s:35:"blocks/wrappers/sidebox_general.tpl";a:1:{s:4:"name";s:15:"sidebox_general";}s:37:"blocks/wrappers/sidebox_important.tpl";a:1:{s:4:"name";s:17:"sidebox_important";}s:45:"blocks/wrappers/abt__ut2__mainbox_general.tpl";a:1:{s:4:"name";s:25:"abt__ut2__mainbox_general";}s:44:"blocks/wrappers/abt__ut2__mainbox_simple.tpl";a:1:{s:4:"name";s:24:"abt__ut2__mainbox_simple";}s:45:"blocks/wrappers/abt__ut2__sidebox_general.tpl";a:1:{s:4:"name";s:25:"abt__ut2__sidebox_general";}s:47:"blocks/wrappers/abt__ut2__sidebox_important.tpl";a:1:{s:4:"name";s:27:"abt__ut2__sidebox_important";}s:62:"blocks/wrappers/abt__ut2_onclick_dropdown_outside_position.tpl";a:1:{s:4:"name";s:42:"abt__ut2_onclick_dropdown_outside_position";}}s:27:"cache_overrides_by_dispatch";a:4:{s:15:"categories.view";a:3:{s:16:"request_handlers";a:1:{i:0;s:11:"category_id";}s:18:"disable_cache_when";a:1:{s:16:"request_handlers";a:4:{i:0;s:8:"price_to";i:1;s:10:"price_from";i:2;s:13:"features_hash";i:3;s:7:"subcats";}}s:15:"update_handlers";a:2:{i:0;s:10:"categories";i:1;s:21:"category_descriptions";}}s:13:"products.view";a:3:{s:16:"request_handlers";a:1:{i:0;s:10:"product_id";}s:16:"session_handlers";a:1:{i:0;s:34:"last_view.lv_products.view_results";}s:15:"update_handlers";a:5:{i:0;s:8:"products";i:1;s:20:"product_descriptions";i:2;s:19:"products_categories";i:3;s:10:"categories";i:4;s:21:"category_descriptions";}}s:10:"pages.view";a:2:{s:16:"request_handlers";a:1:{i:0;s:7:"page_id";}s:15:"update_handlers";a:2:{i:0;s:5:"pages";i:1;s:17:"page_descriptions";}}s:18:"companies.products";a:3:{s:16:"request_handlers";a:2:{i:0;s:10:"company_id";i:1;s:11:"category_id";}s:18:"disable_cache_when";a:1:{s:16:"request_handlers";a:1:{i:0;s:13:"features_hash";}}s:15:"update_handlers";a:3:{i:0;s:10:"categories";i:1;s:21:"category_descriptions";i:2;s:9:"companies";}}}s:4:"type";s:11:"breadcrumbs";s:7:"content";a:0:{}s:13:"is_manageable";b:1;} 0