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/3540/%' 
  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.00292

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "60.38"
    },
    "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": 41,
            "rows_produced_per_join": 0,
            "filtered": "2.00",
            "index_condition": "(`webmarco`.`cscart_categories`.`id_path` like '3532/3540/%')",
            "cost_info": {
              "read_cost": "58.25",
              "eval_cost": "0.16",
              "prefix_cost": "58.41",
              "data_read_per_join": "4K"
            },
            "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": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.82",
              "eval_cost": "0.16",
              "prefix_cost": "59.39",
              "data_read_per_join": "3K"
            },
            "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": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.82",
              "eval_cost": "0.16",
              "prefix_cost": "60.38",
              "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
3557 3540 3532/3540/3557 Alcoholic Beverages 10 A 0 0 45 alcoholic-beverages 3532/3540
3563 3557 3532/3540/3557/3563 Beer 10 A 0 0 159 beer 3532/3540/3557
3760 3752 3532/3540/3752/3760 Carbonated Water 10 A 0 0 0 carbonated-water 3532/3540/3752
3764 3760 3532/3540/3752/3760/3764 Flavored Carbonated Water 10 A 0 0 32 flavored-carbonated-water 3532/3540/3752/3760
3602 3598 3532/3540/3557/3598/3602 Frozen Cocktail Mixes 10 A 0 0 0 frozen-cocktail-mixes 3532/3540/3557/3598
3653 3649 3532/3540/3557/3622/3649/3653 Shochu 10 A 0 0 0 shochu 3532/3540/3557/3622/3649
3593 3557 3532/3540/3557/3593 Bitters 20 A 0 0 44 bitters 3532/3540/3557
3674 3540 3532/3540/3674 Buttermilk 20 A 0 0 0 buttermilk 3532/3540
3779 3752 3532/3540/3752/3779 Distilled Water 20 A 0 0 1 distilled-water 3532/3540/3752
3606 3598 3532/3540/3557/3598/3606 Shelf-stable Cocktail Mixes 20 A 0 0 5 shelf-stable-cocktail-mixes 3532/3540/3557/3598
3657 3649 3532/3540/3557/3622/3649/3657 Soju 20 A 0 0 0 soju 3532/3540/3557/3622/3649
3773 3760 3532/3540/3752/3760/3773 Unflavored Carbonated Water 20 A 0 0 2 unflavored-carbonated-water 3532/3540/3752/3760
3598 3557 3532/3540/3557/3598 Cocktail Mixes 30 A 0 0 1 cocktail-mixes 3532/3540/3557
3676 3540 3532/3540/3676 Coffee 30 A 0 0 773 coffee 3532/3540
3783 3752 3532/3540/3752/3783 Flat Mineral Water 30 A 0 0 110 flat-mineral-water 3532/3540/3752
3679 3540 3532/3540/3679 Eggnog 40 A 0 0 0 eggnog 3532/3540
3611 3557 3532/3540/3557/3611 Flavored Alcoholic Beverages 40 A 0 0 7 flavored-alcoholic-beverages 3532/3540/3557
3790 3752 3532/3540/3752/3790 Spring Water 40 A 0 0 93 spring-water 3532/3540/3752
3684 3540 3532/3540/3684 Fruit Flavored Drinks 50 A 0 0 128 fruit-flavored-drinks 3532/3540
3615 3557 3532/3540/3557/3615 Hard Cider 50 A 0 0 0 hard-cider 3532/3540/3557
3686 3540 3532/3540/3686 Hot Chocolate 60 A 0 0 0 hot-chocolate 3532/3540
3622 3557 3532/3540/3557/3622 Liquor & Spirits 60 A 0 0 15 liquor-and-spirits 3532/3540/3557
3690 3540 3532/3540/3690 Juice 70 A 0 0 50 juice 3532/3540
3672 3557 3532/3540/3557/3672 Wine 70 A 0 0 253 wine 3532/3540/3557
3694 3540 3532/3540/3694 Milk 80 A 0 0 19 milk 3532/3540
3699 3540 3532/3540/3699 Non-Dairy Milk 90 A 0 0 4 non-dairy-milk 3532/3540
3704 3540 3532/3540/3704 Powdered Beverage Mixes 100 A 0 0 0 powdered-beverage-mixes 3532/3540
3713 3540 3532/3540/3713 Soda 110 A 0 0 81 soda 3532/3540
3720 3540 3532/3540/3720 Sports & Energy Drinks 120 A 0 0 7 sports-and-energy-drinks 3532/3540
3736 3540 3532/3540/3736 Tea & Infusions 130 A 0 0 33 tea-and-infusions 3532/3540
3746 3540 3532/3540/3746 Vinegar Drinks 140 A 0 0 0 vinegar-drinks 3532/3540
3752 3540 3532/3540/3752 Water 150 A 0 0 0 water 3532/3540
3627 3622 3532/3540/3557/3622/3627 Absinthe 1150 A 0 0 0 absinthe 3532/3540/3557/3622
3630 3622 3532/3540/3557/3622/3630 Brandy 1160 A 0 0 0 brandy 3532/3540/3557/3622
3635 3622 3532/3540/3557/3622/3635 Gin 1170 A 0 0 12 gin 3532/3540/3557/3622
3643 3622 3532/3540/3557/3622/3643 Liqueurs 1180 A 0 0 287 liqueurs 3532/3540/3557/3622
3646 3622 3532/3540/3557/3622/3646 Rum 1190 A 0 0 16 rum 3532/3540/3557/3622
3649 3622 3532/3540/3557/3622/3649 Shochu & Soju 1200 A 0 0 0 shochu-and-soju 3532/3540/3557/3622
3661 3622 3532/3540/3557/3622/3661 Tequila 1210 A 0 0 5 tequila 3532/3540/3557/3622
3665 3622 3532/3540/3557/3622/3665 Vodka 1220 A 0 0 72 vodka 3532/3540/3557/3622
3667 3622 3532/3540/3557/3622/3667 Whiskey 1230 A 0 0 47 whiskey 3532/3540/3557/3622