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 '5362/7494/%' 
  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.00162

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "35.76"
    },
    "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": 24,
            "rows_produced_per_join": 0,
            "filtered": "2.00",
            "index_condition": "(`webmarco`.`cscart_categories`.`id_path` like '5362/7494/%')",
            "cost_info": {
              "read_cost": "34.51",
              "eval_cost": "0.10",
              "prefix_cost": "34.61",
              "data_read_per_join": "2K"
            },
            "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.48",
              "eval_cost": "0.10",
              "prefix_cost": "35.19",
              "data_read_per_join": "1K"
            },
            "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.48",
              "eval_cost": "0.10",
              "prefix_cost": "35.76",
              "data_read_per_join": "833"
            },
            "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
9283 7494 5362/7494/9283 Breast Pumps 0 A 0 0 6 breast-pumps-en 5362/7494
7504 7502 5362/7494/7502/7504 Baby Bottle Liners 10 A 0 0 0 baby-bottle-liners 5362/7494/7502
7495 7494 5362/7494/7495 Baby & Toddler Food 10 A 0 0 6 baby-and-toddler-food 5362/7494
7496 7495 5362/7494/7495/7496 Baby Cereal 10 A 0 0 0 baby-cereal 5362/7494/7495
7497 7495 5362/7494/7495/7497 Baby Drinks 20 A 0 0 0 baby-drinks 5362/7494/7495
7505 7502 5362/7494/7502/7505 Baby Bottle Nipples 20 A 0 0 0 baby-bottle-nipples 5362/7494/7502
7502 7494 5362/7494/7502 Baby Bottle Nipples & Liners 20 A 0 0 0 baby-bottle-nipples-and-liners 5362/7494
7506 7494 5362/7494/7506 Baby Bottles 30 A 0 0 0 baby-bottles 5362/7494
7498 7495 5362/7494/7495/7498 Baby Formula 30 A 0 0 0 baby-formula 5362/7494/7495
7507 7494 5362/7494/7507 Baby Care Timers 40 A 0 0 0 baby-care-timers 5362/7494
7499 7495 5362/7494/7495/7499 Baby Food 40 A 0 0 84 baby-food 5362/7494/7495
7500 7495 5362/7494/7495/7500 Baby Snacks 50 A 0 0 0 baby-snacks 5362/7494/7495
7508 7494 5362/7494/7508 Bibs 50 A 0 0 2 bibs 5362/7494
7509 7494 5362/7494/7509 Bottle Warmers & Sterilizers 60 A 0 0 0 bottle-warmers-and-sterilizers 5362/7494
7501 7495 5362/7494/7495/7501 Toddler Nutrition Drinks & Shakes 60 A 0 0 0 toddler-nutrition-drinks-and-shakes 5362/7494/7495
7511 7494 5362/7494/7511 Breast Milk Storage Containers 70 A 0 0 0 breast-milk-storage-containers 5362/7494
7512 7494 5362/7494/7512 Breast Pump Accessories 80 A 0 0 0 breast-pump-accessories 5362/7494
7514 7494 5362/7494/7514 Breast Pumps 90 A 0 0 0 breast-pumps 5362/7494
7515 7494 5362/7494/7515 Burp Cloths 100 A 0 0 0 burp-cloths 5362/7494
7517 7494 5362/7494/7517 Nursing Covers 110 A 0 0 13 nursing-covers 5362/7494
7518 7494 5362/7494/7518 Nursing Pads & Shields 120 A 0 0 0 nursing-pads-and-shields 5362/7494
7522 7494 5362/7494/7522 Nursing Pillow Covers 130 A 0 0 0 nursing-pillow-covers 5362/7494
7523 7494 5362/7494/7523 Nursing Pillows 140 A 0 0 2 nursing-pillows 5362/7494
7525 7494 5362/7494/7525 Sippy Cups 150 A 0 0 0 sippy-cups 5362/7494