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/3638/%' 
  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.00485

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "82.10"
    },
    "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": 56,
            "rows_produced_per_join": 1,
            "filtered": "2.00",
            "index_condition": "(`webmarco`.`cscart_categories`.`id_path` like '3532/3535/3539/3638/%')",
            "cost_info": {
              "read_cost": "79.19",
              "eval_cost": "0.22",
              "prefix_cost": "79.41",
              "data_read_per_join": "6K"
            },
            "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.12",
              "eval_cost": "0.22",
              "prefix_cost": "80.75",
              "data_read_per_join": "4K"
            },
            "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.12",
              "eval_cost": "0.22",
              "prefix_cost": "82.10",
              "data_read_per_join": "1K"
            },
            "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
3609 3638 3532/3535/3539/3638/3609 Apples 10 A 0 0 1 apples 3532/3535/3539/3638
3795 3776 3532/3535/3539/3638/3776/3795 Grapefruits 10 A 0 0 1 grapefruits 3532/3535/3539/3638/3776
8449 8367 3532/3535/3539/3638/8367/8449 Plums 10 A 0 0 0 plums 3532/3535/3539/3638/8367
3629 3638 3532/3535/3539/3638/3629 Avocados 20 A 0 0 0 avocados 3532/3535/3539/3638
3829 3776 3532/3535/3539/3638/3776/3829 Kumquats 20 A 0 0 0 kumquats 3532/3535/3539/3638/3776
8452 8367 3532/3535/3539/3638/8367/8452 Plumcots 20 A 0 0 0 plumcots 3532/3535/3539/3638/8367
3656 3638 3532/3535/3539/3638/3656 Babacos 30 A 0 0 0 babacos 3532/3535/3539/3638
8465 8367 3532/3535/3539/3638/8367/8465 Cherries 30 A 0 0 0 cherries 3532/3535/3539/3638/8367
3880 3776 3532/3535/3539/3638/3776/3880 Lemons 30 A 0 0 0 lemons 3532/3535/3539/3638/3776
3910 3776 3532/3535/3539/3638/3776/3910 Limequats 40 A 0 0 0 limequats 3532/3535/3539/3638/3776
8466 8367 3532/3535/3539/3638/8367/8466 Mangoes 40 A 0 0 0 mangoes 3532/3535/3539/3638/8367
8467 8367 3532/3535/3539/3638/8367/8467 Apricots 50 A 0 0 0 apricots 3532/3535/3539/3638/8367
3931 3776 3532/3535/3539/3638/3776/3931 Limes 50 A 0 0 0 limes 3532/3535/3539/3638/3776
3951 3776 3532/3535/3539/3638/3776/3951 Oranges 60 A 0 0 1 oranges 3532/3535/3539/3638/3776
9014 8367 3532/3535/3539/3638/8367/9014 Peaches & Nectarines 60 A 0 0 0 peaches-and-nectarines 3532/3535/3539/3638/8367
3620 3638 3532/3535/3539/3638/3620 Atemoyas 1130 A 0 0 0 atemoyas 3532/3535/3539/3638
3670 3638 3532/3535/3539/3638/3670 Bananas 1140 A 0 0 0 bananas 3532/3535/3539/3638
3681 3638 3532/3535/3539/3638/3681 Berries 1150 A 0 0 0 berries 3532/3535/3539/3638
3701 3638 3532/3535/3539/3638/3701 Breadfruit 1160 A 0 0 0 breadfruit 3532/3535/3539/3638
3721 3638 3532/3535/3539/3638/3721 Cactus Pears 1170 A 0 0 0 cactus-pears 3532/3535/3539/3638
3748 3638 3532/3535/3539/3638/3748 Cherimoyas 1180 A 0 0 1 cherimoyas 3532/3535/3539/3638
3776 3638 3532/3535/3539/3638/3776 Citrus Fruits 1190 A 0 0 0 citrus-fruits 3532/3535/3539/3638
3987 3776 3532/3535/3539/3638/3776/3987 Tangelos 1200 A 0 0 0 tangelos 3532/3535/3539/3638/3776
4137 3638 3532/3535/3539/3638/4137 Coconuts 1210 A 0 0 2 coconuts 3532/3535/3539/3638
4295 3638 3532/3535/3539/3638/4295 Dates 1220 A 0 0 0 dates 3532/3535/3539/3638
5062 3638 3532/3535/3539/3638/5062 Feijoas 1230 A 0 0 0 feijoas 3532/3535/3539/3638
5357 3638 3532/3535/3539/3638/5357 Figs 1240 A 0 0 0 figs 3532/3535/3539/3638
5513 3638 3532/3535/3539/3638/5513 Fruit Mixes 1250 A 0 0 0 fruit-mixes 3532/3535/3539/3638
5566 3638 3532/3535/3539/3638/5566 Physalis 1260 A 0 0 0 physalis 3532/3535/3539/3638
5613 3638 3532/3535/3539/3638/5613 Grapes 1270 A 0 0 0 grapes 3532/3535/3539/3638
5680 3638 3532/3535/3539/3638/5680 Pineapples 1280 A 0 0 2 pineapples 3532/3535/3539/3638
5754 3638 3532/3535/3539/3638/5754 Guavas 1290 A 0 0 0 guavas 3532/3535/3539/3638
5966 3638 3532/3535/3539/3638/5966 Homely Fruits 1300 A 0 0 0 homely-fruits 3532/3535/3539/3638
6065 3638 3532/3535/3539/3638/6065 Pitahayas 1310 A 0 0 0 pitahayas 3532/3535/3539/3638
6248 3638 3532/3535/3539/3638/6248 Kiwis 1320 A 0 0 0 kiwis 3532/3535/3539/3638
6475 3638 3532/3535/3539/3638/6475 Longan 1330 A 0 0 0 longan 3532/3535/3539/3638
6547 3638 3532/3535/3539/3638/6547 Pomegranates 1340 A 0 0 0 pomegranates 3532/3535/3539/3638
6643 3638 3532/3535/3539/3638/6643 Loquats 1350 A 0 0 0 loquats 3532/3535/3539/3638
7160 3638 3532/3535/3539/3638/7160 Mamey 1360 A 0 0 30 mamey 3532/3535/3539/3638
7228 3638 3532/3535/3539/3638/7228 Quince 1370 A 0 0 0 quince 3532/3535/3539/3638
7296 3638 3532/3535/3539/3638/7296 Mangosteens 1380 A 0 0 0 mangosteens 3532/3535/3539/3638
7465 3638 3532/3535/3539/3638/7465 Melons 1390 A 0 0 0 melons 3532/3535/3539/3638
7671 3638 3532/3535/3539/3638/7671 Passion Fruit 1400 A 0 0 4 passion-fruit 3532/3535/3539/3638
7722 3638 3532/3535/3539/3638/7722 Pears 1410 A 0 0 1 pears 3532/3535/3539/3638
7780 3638 3532/3535/3539/3638/7780 Rambutans 1420 A 0 0 0 rambutans 3532/3535/3539/3638
8220 3638 3532/3535/3539/3638/8220 Sapodillo 1430 A 0 0 0 sapodilla 3532/3535/3539/3638
8301 3638 3532/3535/3539/3638/8301 Starfruits 1440 A 0 0 0 starfruits 3532/3535/3539/3638
8347 3638 3532/3535/3539/3638/8347 Sapote 1450 A 0 0 0 sapote 3532/3535/3539/3638
8367 3638 3532/3535/3539/3638/8367 Stone Fruits 1470 A 0 0 0 stone-fruits 3532/3535/3539/3638
8396 3638 3532/3535/3539/3638/8396 Sugar Apples 1490 A 0 0 0 sugar-apples-en 3532/3535/3539/3638
8416 3638 3532/3535/3539/3638/8416 Tamarindo 1500 A 0 0 0 tamarindo-en 3532/3535/3539/3638
8420 3638 3532/3535/3539/3638/8420 Soursops 1510 A 0 0 0 soursops 3532/3535/3539/3638
6856 3638 3532/3535/3539/3638/6856 Lychees 1640 A 0 0 0 lychees 3532/3535/3539/3638
7631 3638 3532/3535/3539/3638/7631 Papayas 1680 A 0 0 0 papayas 3532/3535/3539/3638
9011 3638 3532/3535/3539/3638/9011 Madrono 1690 A 0 0 0 madrono 3532/3535/3539/3638
9013 3638 3532/3535/3539/3638/9013 Persimmons 1700 A 0 0 0 persimmons 3532/3535/3539/3638