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_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 '1677/%' 
  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.00085

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "29.84"
    },
    "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": 20,
            "rows_produced_per_join": 0,
            "filtered": "2.00",
            "index_condition": "(`cscart_db`.`cscart_categories`.`id_path` like '1677/%')",
            "cost_info": {
              "read_cost": "9.22",
              "eval_cost": "0.04",
              "prefix_cost": "9.26",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "company_id",
              "usergroup_ids",
              "status",
              "position",
              "is_trash",
              "storefront_id"
            ],
            "attached_condition": "(((`cscart_db`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`cscart_db`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`cscart_db`.`cscart_categories`.`usergroup_ids`))) and (`cscart_db`.`cscart_categories`.`status` = 'A') and (`cscart_db`.`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": [
              "cscart_db.cscart_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.10",
              "eval_cost": "0.04",
              "prefix_cost": "9.40",
              "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": [
              "cscart_db.cscart_categories.category_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 146,
            "rows_produced_per_join": 58,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "14.60",
              "eval_cost": "5.84",
              "prefix_cost": "29.84",
              "data_read_per_join": "99K"
            },
            "used_columns": [
              "name",
              "object_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id seo_name seo_path
2332 2289 1677/2289/2332 Cleansers 0 A 0 0 cleansers 1677/2289
2331 2289 1677/2289/2331 Face serums and oils 0 A 0 0 face-serums-and-oils 1677/2289
2334 2289 1677/2289/2334 face-masks 0 A 0 0 face-masks-en 1677/2289
2330 2291 1677/2291/2330 lips 0 A 0 0 lips-en 1677/2291
2327 2289 1677/2289/2327 Moisturisers 0 A 0 0 moisturisers 1677/2289
2362 2291 1677/2291/2362 Nails 0 A 0 0 nails 1677/2291
2363 2289 1677/2289/2363 Scrubs & Exfoliants 0 A 0 0 scrubs-and-exfoliants 1677/2289
2328 2289 1677/2289/2328 Toners 0 A 0 0 toners 1677/2289
3109 3091 1677/3091/3109 Body Lotion 10 A 0 0 body-lotion 1677/3091
2301 2291 1677/2291/2301 Face 10 A 0 0 face 1677/2291
3110 3091 1677/3091/3110 Body Scrubs 20 A 0 0 body-scrubs 1677/3091
2302 2291 1677/2291/2302 Eyes 20 A 0 0 eyes 1677/2291
3112 3091 1677/3091/3112 Hand Cream 40 A 0 0 hand-cream 1677/3091
3113 3091 1677/3091/3113 Body Wash 50 A 0 0 body-wash 1677/3091
1115 2289 1677/2289/1115 Sun care 3650 A 0 0 sun-care 1677/2289
2278 2285 1677/2285/2278 The It List 10570 A 0 0 the-it-list 1677/2285
2279 2285 1677/2285/2279 K Beauty Routines 10580 A 0 0 k-beauty-routines 1677/2285
2289 1677 1677/2289 Skincare 10650 A 0 0 skincare 1677
2291 1677 1677/2291 Makeup 10670 A 0 0 makeup 1677
3091 1677 1677/3091 Body Care 10690 A 0 0 body-care 1677