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.parent_id IN (5291) 
  AND cscart_categories.id_path LIKE '5291/%' 
  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.00195

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.92"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "ref",
            "possible_keys": [
              "c_status",
              "parent",
              "id_path"
            ],
            "key": "parent",
            "used_key_parts": [
              "parent_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 24,
            "rows_produced_per_join": 0,
            "filtered": "0.21",
            "cost_info": {
              "read_cost": "24.00",
              "eval_cost": "0.01",
              "prefix_cost": "28.80",
              "data_read_per_join": "303"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "company_id",
              "usergroup_ids",
              "status",
              "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`.`id_path` like '5291/%') 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.05",
              "eval_cost": "0.01",
              "prefix_cost": "28.86",
              "data_read_per_join": "208"
            },
            "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.05",
              "eval_cost": "0.01",
              "prefix_cost": "28.92",
              "data_read_per_join": "86"
            },
            "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 seo_name seo_path
5319 5291 5291/5319 Advertising & Marketing 10 A 0 0 advertising-and-marketing 5291
5371 5291 5291/5371 Agriculture 20 A 0 0 agriculture 5291
5467 5291 5291/5467 Material Handling 30 A 0 0 material-handling 5291
5486 5291 5291/5486 Automation Control Components 40 A 0 0 automation-control-components 5291
5500 5291 5291/5500 Construction 50 A 0 0 construction 5291
5520 5291 5291/5520 Dentistry 60 A 0 0 dentistry 5291
5600 5291 5291/5600 Medical 70 A 0 0 medical 5291
5753 5291 5291/5753 Retail 80 A 0 0 retail 5291
5946 5291 5291/5946 Film & Television 90 A 0 0 film-and-television 5291
5965 5291 5291/5965 Finance & Insurance 100 A 0 0 finance-and-insurance 5291
6008 5291 5291/6008 Food Service 110 A 0 0 food-service 5291
6203 5291 5291/6203 Mining & Quarrying 120 A 0 0 mining-and-quarrying 5291
6243 5291 5291/6243 Piercing & Tattooing 130 A 0 0 piercing-and-tattooing 5291
6464 5291 5291/6464 Forestry & Logging 150 A 0 0 forestry-and-logging 5291
6481 5291 5291/6481 Hairdressing & Cosmetology 160 A 0 0 hairdressing-and-cosmetology 5291
6493 5291 5291/6493 Work Safety Protective Gear 170 A 0 0 work-safety-protective-gear 5291
6541 5291 5291/6541 Heavy Machinery 180 A 0 0 heavy-machinery 5291
6571 5291 5291/6571 Hotel & Hospitality 190 A 0 0 hotel-and-hospitality 5291
6605 5291 5291/6605 Industrial Storage 200 A 0 0 industrial-storage 5291
6725 5291 5291/6725 Industrial Storage Accessories 210 A 0 0 industrial-storage-accessories 5291
6755 5291 5291/6755 Janitorial Carts & Caddies 220 A 0 0 janitorial-carts-and-caddies 5291
6783 5291 5291/6783 Law Enforcement 230 A 0 0 law-enforcement 5291
6842 5291 5291/6842 Science & Laboratory 240 A 0 0 science-and-laboratory-en 5291
6877 5291 5291/6877 Signage 250 A 0 0 signage 5291