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 (22506) 
  AND cscart_categories.id_path LIKE '22491/22506/%' 
  AND cscart_categories.category_id != 1 
  AND cscart_categories.parent_id != 1 
  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.00012

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": [
                "PRIMARY",
                "c_status",
                "parent",
                "id_path",
                "p_category_id"
              ],
              "key": "parent",
              "key_length": "3",
              "used_key_parts": ["parent_id"],
              "ref": ["const"],
              "rows": 35,
              "filtered": 1.123595476,
              "attached_condition": "(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 '22491/22506/%' and cscart_categories.category_id <> 1 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": ["ebonza_cscart_test.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": "ref",
              "possible_keys": ["PRIMARY", "dispatch"],
              "key": "PRIMARY",
              "key_length": "206",
              "used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
              "ref": [
                "ebonza_cscart_test.cscart_categories.category_id",
                "const",
                "const",
                "const"
              ],
              "rows": 16,
              "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
22508 22506 22491/22506/22508 Candles & Holders 0 A 0 1 handmade-candles-holders 22491/22506
22523 22506 22491/22506/22523 Carpets & Rugs 0 A 0 1 handmade-carpets-rugs 22491/22506
22512 22506 22491/22506/22512 Chair Pads & Covers 0 A 0 1 handmade-chair-pads-covers 22491/22506
22509 22506 22491/22506/22509 Children's Room Décor 0 A 0 1 handmade-childrens-room-decor 22491/22506
22515 22506 22491/22506/22515 Christmas Stockings & Holders 0 A 0 1 handmade-christmas-stockings-holders 22491/22506
22510 22506 22491/22506/22510 Clocks 0 A 0 1 handmade-clocks 22491/22506
22511 22506 22491/22506/22511 Curtains, Blinds & Shutters 0 A 0 1 handmade-curtains-blinds-shutters 22491/22506
22513 22506 22491/22506/22513 Decorative Boxes 0 A 0 1 handmade-decorative-boxes 22491/22506
22518 22506 22491/22506/22518 Decorative Plates 0 A 0 1 handmade-decorative-plates 22491/22506
22516 22506 22491/22506/22516 Display Stands 0 A 0 1 handmade-display-stands 22491/22506
22522 22506 22491/22506/22522 Doormats 0 A 0 1 handmade-doormats 22491/22506
22524 22506 22491/22506/22524 Doorstops 0 A 0 1 handmade-doorstops 22491/22506
22507 22506 22491/22506/22507 Floral Arrangements 0 A 0 1 handmade-floral-arrangements 22491/22506
22525 22506 22491/22506/22525 Gift Baskets 0 A 0 1 handmade-gift-baskets 22491/22506
22526 22506 22491/22506/22526 Guestbooks 0 A 0 1 handmade-guestbooks 22491/22506
22519 22506 22491/22506/22519 Handmade bottles & Jars 0 A 0 1 handmade-jars 22491/22506
22520 22506 22491/22506/22520 Handmade Sculptures 0 A 0 1 handmade-sculptures 22491/22506
23210 22506 22491/22506/23210 Home decor personal gifts 0 A 0 1 home-decor-personal-gifts 22491/22506
22527 22506 22491/22506/22527 Home Fragrance 0 A 0 1 handmade-home-fragrance 22491/22506
22528 22506 22491/22506/22528 Lamps 0 A 0 1 handmade-lamps 22491/22506
22529 22506 22491/22506/22529 Magnets 0 A 0 1 handmade-magnets 22491/22506
22530 22506 22491/22506/22530 Memo Boards 0 A 0 1 handmade-memo-boards 22491/22506
22531 22506 22491/22506/22531 Mirrors 0 A 0 1 handmade-mirrors 22491/22506
22514 22506 22491/22506/22514 Ornaments 0 A 0 1 handmade-ornaments 22491/22506
22532 22506 22491/22506/22532 Photo Albums & Frames 0 A 0 1 handmade-photo-albums-frames 22491/22506
22533 22506 22491/22506/22533 Signs & Plaques 0 A 0 1 handmade-signs-plaques 22491/22506
22534 22506 22491/22506/22534 Slipcovers 0 A 0 1 handmade-slipcovers 22491/22506
22536 22506 22491/22506/22536 Tablecloths 0 A 0 1 handmade-tablecloths 22491/22506
22535 22506 22491/22506/22535 Tapestries 0 A 0 1 handmade-tapestries 22491/22506
22521 22506 22491/22506/22521 Taxidermy & Curiosities 0 A 0 1 handmade-taxidermy-curiosities 22491/22506
22537 22506 22491/22506/22537 Throw Pillows 0 A 0 1 handmade-throw-pillows 22491/22506
22538 22506 22491/22506/22538 Vases 0 A 0 1 handmade-vases 22491/22506
22540 22506 22491/22506/22540 Wall Decals & Murals 0 A 0 1 handmade-wall-decals-murals 22491/22506
22539 22506 22491/22506/22539 Wall Hangings 0 A 0 1 handmade-wall-hangings 22491/22506
22541 22506 22491/22506/22541 Wallpaper 0 A 0 1 handmade-wallpaper 22491/22506
22517 22506 22491/22506/22517 Wreaths & Door Hangers 0 A 0 1 handmade-wreaths-door-hangers 22491/22506