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 '5457/5645/%' 
  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.00262

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "48.79"
    },
    "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": 33,
            "rows_produced_per_join": 0,
            "filtered": "2.00",
            "index_condition": "(`webmarco`.`cscart_categories`.`id_path` like '5457/5645/%')",
            "cost_info": {
              "read_cost": "47.08",
              "eval_cost": "0.13",
              "prefix_cost": "47.21",
              "data_read_per_join": "3K"
            },
            "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.66",
              "eval_cost": "0.13",
              "prefix_cost": "48.00",
              "data_read_per_join": "2K"
            },
            "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.66",
              "eval_cost": "0.13",
              "prefix_cost": "48.79",
              "data_read_per_join": "1K"
            },
            "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
6570 6549 5457/5645/6549/6570 Art Charcoals 10 A 0 0 0 art-charcoals 5457/5645/6549
7162 7107 5457/5645/6549/6786/7107/7162 Art Pencil 10 A 0 0 1 art-pencil 5457/5645/6549/6786/7107
5896 5645 5457/5645/5896 Call Bells 10 A 0 0 0 call-bells 5457/5645
8255 6452 5457/5645/6219/6452/8255 Highlighter Refills 10 A 0 0 0 highlighter-refills 5457/5645/6219/6452
6932 6661 5457/5645/6549/6661/6932 Highlighters 10 A 0 0 0 highlighters 5457/5645/6549/6661
6452 6219 5457/5645/6219/6452 Marker & Highlighter Ink Refills 10 A 0 0 41 marker-and-highlighter-ink-r 5457/5645/6219
8394 7193 5457/5645/6549/6786/7107/7193/8394 Mechanical Pencils 10 A 0 0 0 mechanical-pencils-en 5457/5645/6549/6786/7107/7193
7078 6786 5457/5645/6549/6786/7078 Pen & Pencil Sets 10 A 0 0 8 pen-and-pencil-sets 5457/5645/6549/6786
6593 6549 5457/5645/6549/6593 Chalk 20 A 0 0 2 chalk 5457/5645/6549
6045 5645 5457/5645/6045 Clipboards 20 A 0 0 0 clipboards 5457/5645
6480 6219 5457/5645/6219/6480 Marker & Highlighter Ink 20 A 0 0 0 marker-and-highlighter-ink 5457/5645/6219
8270 6452 5457/5645/6219/6452/8270 Marker Refills 20 A 0 0 1 marker-refills 5457/5645/6219/6452
6989 6661 5457/5645/6549/6661/6989 Markers 20 A 0 0 3 markers 5457/5645/6549/6661
7107 6786 5457/5645/6549/6786/7107 Pencils 20 A 0 0 0 pencils 5457/5645/6549/6786
8407 7193 5457/5645/6549/6786/7107/7193/8407 Wooden Pencils 20 A 0 0 0 wooden-pencils-en 5457/5645/6549/6786/7107/7193
7193 7107 5457/5645/6549/6786/7107/7193 Writing Pencils 20 A 0 0 0 writing-pen 5457/5645/6549/6786/7107
6636 6549 5457/5645/6549/6636 Crayons 30 A 0 0 0 crayons 5457/5645/6549
6068 5645 5457/5645/6068 Letter Openers 30 A 0 0 0 letter-openers 5457/5645
6495 6219 5457/5645/6219/6495 Pen Ink & Refills 30 A 0 0 1 pen-ink-and-refills 5457/5645/6219
7265 6786 5457/5645/6549/6786/7265 Pens 30 A 0 0 36 pens 5457/5645/6549/6786
6094 5645 5457/5645/6094 Magnifiers 40 A 0 0 0 magnifiers 5457/5645
6661 6549 5457/5645/6549/6661 Markers & Highlighters 40 A 0 0 0 markers-and-highlighters 5457/5645/6549
6510 6219 5457/5645/6219/6510 Pencil Lead & Refills 40 A 0 0 0 pencil-lead-and-refills 5457/5645/6219
6116 5645 5457/5645/6116 Office Rubber Stamps 50 A 0 0 0 office-rubber-stamps 5457/5645
6722 6549 5457/5645/6549/6722 Multifunction Writing Instruments 60 A 0 0 0 multifunction-writing-instruments 5457/5645/6549
6135 5645 5457/5645/6135 Pencil Sharpeners 60 A 0 0 0 pencil-sharpeners 5457/5645
6756 6549 5457/5645/6549/6756 Pastels 70 A 0 0 0 pastels 5457/5645/6549
6158 5645 5457/5645/6158 Staple Removers 70 A 0 0 0 staple-removers 5457/5645
6786 6549 5457/5645/6549/6786 Pens & Pencils 80 A 0 0 1 pens-and-pencils 5457/5645/6549
6179 5645 5457/5645/6179 Staplers 80 A 0 0 1 staplers 5457/5645
6195 5645 5457/5645/6195 Tape Dispensers 90 A 0 0 0 tape-dispensers 5457/5645
6219 5645 5457/5645/6219 Writing & Drawing Instrument Accessories 100 A 0 0 0 writing-and-drawing-instrument-accessories 5457/5645
6549 5645 5457/5645/6549 Writing & Drawing Instruments 110 A 0 0 0 writing-and-drawing-instruments 5457/5645