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.company_id, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path, 
  cscart_categories.ab__lc_catalog_image_control, 
  cscart_categories.ab__fn_category_status, 
  cscart_categories.ab__fn_label_color, 
  cscart_categories.ab__fn_label_background, 
  cscart_categories.ab__fn_use_origin_image, 
  cscart_category_descriptions.ab__fn_label_text, 
  cscart_category_descriptions.ab__fn_label_show, 
  cscart_category_descriptions.ab__custom_category_h1 
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' 
  AND cscart_seo_names.company_id = cscart_categories.company_id 
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 (387) 
  AND cscart_categories.id_path LIKE '387/%' 
  AND cscart_categories.storefront_id IN (0, 1) 
  AND cscart_categories.company_id = 1 
ORDER BY 
  cscart_categories.is_trash asc, 
  cscart_categories.position asc, 
  cscart_category_descriptions.category asc

Query time 0.00144

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "cscart_categories",
              "access_type": "ref",
              "possible_keys": ["c_status", "parent", "id_path"],
              "key": "parent",
              "key_length": "3",
              "used_key_parts": ["parent_id"],
              "ref": ["const"],
              "rows": 21,
              "filtered": 16,
              "attached_condition": "cscart_categories.company_id = 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` = 'A' and cscart_categories.id_path like '387/%' and cscart_categories.storefront_id in (0,1)"
            }
          },
          {
            "table": {
              "table_name": "cscart_category_descriptions",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "9",
              "used_key_parts": ["category_id", "lang_code"],
              "ref": ["lillyshop_lillyshop.cscart_categories.category_id", "const"],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'en')"
            }
          },
          {
            "table": {
              "table_name": "cscart_seo_names",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY", "dispatch"],
              "key": "PRIMARY",
              "key_length": "210",
              "used_key_parts": [
                "object_id",
                "type",
                "dispatch",
                "lang_code",
                "company_id"
              ],
              "ref": [
                "lillyshop_lillyshop.cscart_categories.category_id",
                "const",
                "const",
                "const",
                "const"
              ],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
            }
          }
        ]
      }
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id seo_name seo_path ab__lc_catalog_image_control ab__fn_category_status ab__fn_label_color ab__fn_label_background ab__fn_use_origin_image ab__fn_label_text ab__fn_label_show ab__custom_category_h1
884 387 387/884 Adore gel nail polishes 0 A 1 1 bazi-ta-topi-adore-en 387 none Y #ffffff #333333 N Y
1066 387 387/1066 ART gel nail polishes 0 A 1 1 art-en 387 none Y #ffffff #333333 N Y
833 387 387/833 DARK gel nail polishes 0 A 1 1 gel-laki-dark-en 387 none Y #ffffff #333333 N Y
844 387 387/844 DIS gel nail polishes 0 A 1 1 gel-laki-dis-en 387 none Y #ffffff #333333 N Y
939 387 387/939 DNKA gel nail polishes 0 A 1 1 bazi-i-topi-dnka-en 387 none Y #ffffff #333333 N Y
941 387 387/941 Edlen gel nail polishes 0 A 1 1 bazi-ta-topi-edlen-en 387 none Y #ffffff #333333 N Y
479 387 387/479 FOX gel nail polishes 0 A 1 1 gel-laki-f.o.x-en 387 none Y #ffffff #333333 N Y
950 387 387/950 GaMa gel nail polishes 0 A 1 1 gel-laki-gama-en 387 none Y #ffffff #333333 N Y
1179 387 387/1179 Gel nail polishes DA_23 0 A 1 1 gel-laki-dlya-nigtiv-da23-en 387 none Y #ffffff #333333 N Y
1162 387 387/1162 Gel nail polishes from Nailsoftheday 0 A 1 1 gel-laki-nailsoftheday 387 none Y #ffffff #333333 N Y
1028 387 387/1028 Gel polishes for nails HELLO 0 A 1 1 hello-en 387 none Y #ffffff #333333 N Y
434 387 387/434 Kira Nails gel nail polishes 0 A 1 1 gel-laki-kira-nails-en 387 none Y #ffffff #333333 N Y
429 387 387/429 Komilfo gel nail polishes 0 A 1 1 gel-laki-komilfo-en 387 none Y #ffffff #333333 N Y
952 387 387/952 LUNA gel nail polishes 0 A 1 1 gel-laki-luna-en 387 none Y #ffffff #333333 N Y
774 387 387/774 Molekula gel nail polishes 0 A 1 1 gel-laki-molekula-en 387 none Y #ffffff #333333 N Y
448 387 387/448 Oxxi gel nail polishes 0 A 1 1 gel-laki-oxxi-en 387 none Y #ffffff #333333 N Y
498 387 387/498 Reforma gel nail polishes 0 A 1 1 gel-laki-reforma-en 387 none Y #ffffff #333333 N Y
414 387 387/414 Saga gel nail polishes 0 A 1 1 gel-laki-saga-en 387 none Y #ffffff #333333 N Y
1183 387 387/1183 Гель-лаки для нігтів TOUCH 0 A 1 1 gel-laki-dlya-nigtiv-touch-en 387 none Y #ffffff #333333 N Y
1192 387 387/1192 Гель-лаки для нігтів YouAreCute 0 A 1 1 gel-laki-dlya-nigtiv-youarecute 387 none Y #ffffff #333333 N Y
493 387 387/493 Top coats for gel polishes 17 A 1 1 topovye-pokrytiya-dlya-gel-lakov-en 387 none Y #ffffff #333333 N Y