SELECT 
  cscart_categories.category_id, 
  cscart_categories.parent_id, 
  cscart_categories.id_path, 
  cscart_category_descriptions.category, 
  cscart_categories.position, 
  cscart_categories.status, 
  cscart_categories.company_id, 
  cscart_categories.storefront_id, 
  cscart_categories.product_count, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
FROM 
  cscart_categories 
  LEFT JOIN cscart_category_descriptions ON cscart_categories.category_id = cscart_category_descriptions.category_id 
  AND cscart_category_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_categories.category_id 
  AND cscart_seo_names.type = 'c' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
WHERE 
  1 = 1 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A') 
  AND cscart_categories.id_path LIKE '3532/3535/3539/3549/%' 
  AND cscart_categories.storefront_id IN (0, 1) 
ORDER BY 
  cscart_categories.is_trash asc, 
  cscart_categories.position asc, 
  cscart_category_descriptions.category asc

Query time 0.00399

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "102.37"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "range",
            "possible_keys": [
              "c_status",
              "id_path"
            ],
            "key": "id_path",
            "used_key_parts": [
              "id_path"
            ],
            "key_length": "767",
            "rows_examined_per_scan": 70,
            "rows_produced_per_join": 1,
            "filtered": "2.00",
            "index_condition": "(`webmarco`.`cscart_categories`.`id_path` like '3532/3535/3539/3549/%')",
            "cost_info": {
              "read_cost": "98.73",
              "eval_cost": "0.28",
              "prefix_cost": "99.01",
              "data_read_per_join": "8K"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "company_id",
              "usergroup_ids",
              "status",
              "product_count",
              "position",
              "is_trash",
              "storefront_id"
            ],
            "attached_condition": "(((`webmarco`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`webmarco`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`webmarco`.`cscart_categories`.`usergroup_ids`)) and (`webmarco`.`cscart_categories`.`status` = 'A') and (`webmarco`.`cscart_categories`.`storefront_id` in (0,1)))"
          }
        },
        {
          "table": {
            "table_name": "cscart_category_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "webmarco.cscart_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.40",
              "eval_cost": "0.28",
              "prefix_cost": "100.69",
              "data_read_per_join": "5K"
            },
            "used_columns": [
              "category_id",
              "lang_code",
              "category"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_seo_names",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "dispatch"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "type",
              "dispatch",
              "lang_code"
            ],
            "key_length": "206",
            "ref": [
              "webmarco.cscart_categories.category_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.40",
              "eval_cost": "0.28",
              "prefix_cost": "102.37",
              "data_read_per_join": "2K"
            },
            "used_columns": [
              "name",
              "object_id",
              "company_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id product_count seo_name seo_path
3632 3549 3532/3535/3539/3549/3632 Fiddlehead Ferns 30 A 0 0 0 fiddlehead-ferns 3532/3535/3539/3549
3641 3549 3532/3535/3539/3549/3641 Gai Choy 40 A 0 0 0 gai-choy 3532/3535/3539/3549
3647 3549 3532/3535/3539/3549/3647 Gai Lan 50 A 0 0 0 gai-lan 3532/3535/3539/3549
3652 3549 3532/3535/3539/3549/3652 Garlic 60 A 0 0 0 garlic 3532/3535/3539/3549
3655 3549 3532/3535/3539/3549/3655 Ginger Root 70 A 0 0 0 ginger-root 3532/3535/3539/3549
3663 3549 3532/3535/3539/3549/3663 Gobo Root 80 A 0 0 0 gobo-root 3532/3535/3539/3549
3671 3549 3532/3535/3539/3549/3671 Greens 90 A 0 0 0 greens 3532/3535/3539/3549
3675 3549 3532/3535/3539/3549/3675 Horseradish Root 100 A 0 0 0 horseradish-root 3532/3535/3539/3549
3680 3549 3532/3535/3539/3549/3680 Jicama 110 A 0 0 0 jicama 3532/3535/3539/3549
3682 3549 3532/3535/3539/3549/3682 Kohlrabi 120 A 0 0 0 kohlrabi 3532/3535/3539/3549
3688 3549 3532/3535/3539/3549/3688 Leeks 1200 A 0 0 0 leeks 3532/3535/3539/3549
3689 3549 3532/3535/3539/3549/3689 Lotus Roots 1210 A 0 0 0 lotus-roots 3532/3535/3539/3549
3692 3549 3532/3535/3539/3549/3692 Malangas 1220 A 0 0 0 malangas 3532/3535/3539/3549
3695 3549 3532/3535/3539/3549/3695 Mushrooms 1230 A 0 0 3 mushrooms 3532/3535/3539/3549
3698 3549 3532/3535/3539/3549/3698 Okra 1240 A 0 0 0 okra 3532/3535/3539/3549
3703 3549 3532/3535/3539/3549/3703 Onions 1250 A 0 0 0 onions 3532/3535/3539/3549
3707 3549 3532/3535/3539/3549/3707 Parsley Roots 1260 A 0 0 0 parsley-roots 3532/3535/3539/3549
3711 3549 3532/3535/3539/3549/3711 Parsnips 1270 A 0 0 0 parsnips 3532/3535/3539/3549
3719 3549 3532/3535/3539/3549/3719 Peas 1280 A 0 0 0 peas 3532/3535/3539/3549
3725 3549 3532/3535/3539/3549/3725 Peppers 1290 A 0 0 1 peppers 3532/3535/3539/3549
3730 3549 3532/3535/3539/3549/3730 Potatoes 1300 A 0 0 0 potatoes 3532/3535/3539/3549
3734 3549 3532/3535/3539/3549/3734 Radishes 1310 A 0 0 0 radishes 3532/3535/3539/3549
3744 3549 3532/3535/3539/3549/3744 Rhubarb 1320 A 0 0 0 rhubarb 3532/3535/3539/3549
3755 3549 3532/3535/3539/3549/3755 Shallots 1330 A 0 0 0 shallots 3532/3535/3539/3549
3763 3549 3532/3535/3539/3549/3763 Sprouts 1340 A 0 0 0 sprouts 3532/3535/3539/3549
3769 3549 3532/3535/3539/3549/3769 Squashes & Gourds 1350 A 0 0 0 squashes-and-gourds 3532/3535/3539/3549
3782 3549 3532/3535/3539/3549/3782 Sugar Cane 1360 A 0 0 0 sugar-cane 3532/3535/3539/3549
3791 3549 3532/3535/3539/3549/3791 Sunchokes 1370 A 0 0 0 sunchokes 3532/3535/3539/3549
3799 3549 3532/3535/3539/3549/3799 Sweet Potatoes 1380 A 0 0 0 sweet-potatoes 3532/3535/3539/3549
3802 3549 3532/3535/3539/3549/3802 Tamarillos 1390 A 0 0 0 tamarillos 3532/3535/3539/3549
3809 3549 3532/3535/3539/3549/3809 Taro Root 1400 A 0 0 0 taro-root 3532/3535/3539/3549
3814 3549 3532/3535/3539/3549/3814 Tomatoes 1410 A 0 0 0 tomatoes 3532/3535/3539/3549
3818 3549 3532/3535/3539/3549/3818 Turnips & Rutabagas 1420 A 0 0 0 turnips-and-rutabagas 3532/3535/3539/3549
3822 3549 3532/3535/3539/3549/3822 Vegetable Mixes 1430 A 0 0 0 vegetable-mixes 3532/3535/3539/3549
3826 3549 3532/3535/3539/3549/3826 Water Chestnuts 1440 A 0 0 0 water-chestnuts 3532/3535/3539/3549
3834 3549 3532/3535/3539/3549/3834 Watercress 1450 A 0 0 0 watercress 3532/3535/3539/3549
3838 3549 3532/3535/3539/3549/3838 Wheatgrass 1460 A 0 0 0 wheatgrass 3532/3535/3539/3549
3844 3549 3532/3535/3539/3549/3844 Yams 1470 A 0 0 0 yams 3532/3535/3539/3549
3849 3549 3532/3535/3539/3549/3849 Yuca Root 1480 A 0 0 0 yuca-root 3532/3535/3539/3549
4290 3549 3532/3535/3539/3549/4290 Fennel Bulbs 1490 A 0 0 0 fennel-bulbs 3532/3535/3539/3549
3856 3671 3532/3535/3539/3549/3671/3856 Arugula 1490 A 0 0 0 arugula 3532/3535/3539/3549/3671
3865 3671 3532/3535/3539/3549/3671/3865 Beet Greens 1500 A 0 0 0 beet-greens 3532/3535/3539/3549/3671
4403 3549 3532/3535/3539/3549/4403 Eggplants 1500 A 0 0 1 eggplants 3532/3535/3539/3549
3882 3671 3532/3535/3539/3549/3671/3882 Bok Choy 1510 A 0 0 0 bok-choy 3532/3535/3539/3549/3671
4666 3549 3532/3535/3539/3549/4666 Cucumbers 1510 A 0 0 1 cucumbers 3532/3535/3539/3549
3889 3671 3532/3535/3539/3549/3671/3889 Chard 1520 A 0 0 0 chard 3532/3535/3539/3549/3671
5018 3549 3532/3535/3539/3549/5018 Corn 1520 A 0 0 0 corn 3532/3535/3539/3549
5115 3549 3532/3535/3539/3549/5115 Celery Roots 1530 A 0 0 0 celery-roots 3532/3535/3539/3549
3894 3671 3532/3535/3539/3549/3671/3894 Chicory 1530 A 0 0 0 chicory 3532/3535/3539/3549/3671
5254 3549 3532/3535/3539/3549/5254 Celery 1540 A 0 0 0 celery 3532/3535/3539/3549
3906 3671 3532/3535/3539/3549/3671/3906 Choy Sum 1540 A 0 0 0 choy-sum 3532/3535/3539/3549/3671
5329 3549 3532/3535/3539/3549/5329 Cauliflower 1550 A 0 0 0 cauliflower 3532/3535/3539/3549
3909 3671 3532/3535/3539/3549/3671/3909 Kale 1550 A 0 0 0 kale 3532/3535/3539/3549/3671
5410 3549 3532/3535/3539/3549/5410 Carrots 1560 A 0 0 0 carrots 3532/3535/3539/3549
3916 3671 3532/3535/3539/3549/3671/3916 Lettuce 1560 A 0 0 0 lettuce 3532/3535/3539/3549/3671
5471 3549 3532/3535/3539/3549/5471 Cardoon 1570 A 0 0 1 cardoon 3532/3535/3539/3549
3921 3671 3532/3535/3539/3549/3671/3921 On Choy 1570 A 0 0 0 on-choy 3532/3535/3539/3549/3671
5580 3549 3532/3535/3539/3549/5580 Cactus Leaves 1580 A 0 0 0 cactus-leaves 3532/3535/3539/3549
3926 3671 3532/3535/3539/3549/3671/3926 Salad Mixes 1580 A 0 0 0 salad-mixes 3532/3535/3539/3549/3671
5658 3549 3532/3535/3539/3549/5658 Cabbage 1590 A 0 0 0 cabbage 3532/3535/3539/3549
3929 3671 3532/3535/3539/3549/3671/3929 Spinach 1590 A 0 0 0 spinach 3532/3535/3539/3549/3671
5886 3549 3532/3535/3539/3549/5886 Brussel Sprouts 1600 A 0 0 0 brussel-sprouts 3532/3535/3539/3549
3941 3671 3532/3535/3539/3549/3671/3941 Yu Choy 1600 A 0 0 0 yu-choy 3532/3535/3539/3549/3671
6069 3549 3532/3535/3539/3549/6069 Broccoli 1610 A 0 0 1 broccoli 3532/3535/3539/3549
6370 3549 3532/3535/3539/3549/6370 Borage 1620 A 0 0 0 borage 3532/3535/3539/3549
6573 3549 3532/3535/3539/3549/6573 Beets 1630 A 0 0 0 beets 3532/3535/3539/3549
6881 3549 3532/3535/3539/3549/6881 Beans 1650 A 0 0 1 beans 3532/3535/3539/3549
7235 3549 3532/3535/3539/3549/7235 Asparagus 1660 A 0 0 0 asparagus 3532/3535/3539/3549
7397 3549 3532/3535/3539/3549/7397 Artichokes 1670 A 0 0 0 artichokes 3532/3535/3539/3549
7654 3549 3532/3535/3539/3549/7654 Arracachas 1690 A 0 0 0 arracachas 3532/3535/3539/3549