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 '4271/4805/%' 
  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.00371

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "103.82"
    },
    "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": 71,
            "rows_produced_per_join": 1,
            "filtered": "2.00",
            "index_condition": "(`webmarco`.`cscart_categories`.`id_path` like '4271/4805/%')",
            "cost_info": {
              "read_cost": "100.13",
              "eval_cost": "0.28",
              "prefix_cost": "100.41",
              "data_read_per_join": "8K"
            },
            "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": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.42",
              "eval_cost": "0.28",
              "prefix_cost": "102.11",
              "data_read_per_join": "5K"
            },
            "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": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.42",
              "eval_cost": "0.28",
              "prefix_cost": "103.82",
              "data_read_per_join": "2K"
            },
            "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
9373 5098 4271/4805/5098/9373 Cassette Players & Recorders 0 A 0 0 0 cassette-players-and-recorders-en 4271/4805/5098
9262 4982 4271/4805/4909/4982/9262 Headsets 0 A 0 0 95 headsets-en 4271/4805/4909/4982
9435 9434 4271/4805/4910/9434/9435 MP3 Player & Mobile Phone Accessory Sets 0 A 0 0 295 mp3-player-and-mobile-phone-accessory-sets 4271/4805/4910/9434
9434 4910 4271/4805/4910/9434 MP3 Player Accessories 0 A 0 0 1 mp3-player-accessories-en 4271/4805/4910
9402 4909 4271/4805/4909/9402 Speakers 0 A 0 0 43 speakers-en 4271/4805/4909
5128 5120 4271/4805/4909/5120/5128 Headphone Amplifiers 10 A 0 0 0 headphone-amplifiers 4271/4805/4909/5120
5170 5098 4271/4805/5098/5170 Reel-to-Reel Tape Players & Recorders 10 A 0 0 0 reel-to-reel-tape-players-and-recorders 4271/4805/5098
4926 4910 4271/4805/4910/4926 Audio & Video Receiver Accessories 10 A 0 0 0 audio-and-video-receiver-accessories 4271/4805/4910
4909 4805 4271/4805/4909 Audio Components 10 A 0 0 0 audio-components 4271/4805
4918 4909 4271/4805/4909/4918 Audio Transmitters 10 A 0 0 0 audio-transmitters 4271/4805/4909
4932 4918 4271/4805/4909/4918/4932 Bluetooth Transmitters 10 A 0 0 5 bluetooth-transmitters 4271/4805/4909/4918
5113 5098 4271/4805/5098/5113 Boomboxes 10 A 0 0 0 boomboxes 4271/4805/5098
5026 5021 4271/4805/4909/5021/5026 Crossovers 10 A 0 0 0 crossovers 4271/4805/4909/5021
5213 5208 4271/4805/5208/5213 DJ CD Players 10 A 0 0 0 dj-cd-players 4271/4805/5208
4948 4937 4271/4805/4910/4937/4948 Headphone Cushions & Tips 10 A 0 0 0 headphone-cushions-and-tips 4271/4805/4910/4937
4989 4982 4271/4805/4909/4982/4989 Headphones 10 A 0 0 195 headphones 4271/4805/4909/4982
4965 4955 4271/4805/4910/4955/4965 Karaoke Chips 10 A 0 0 0 karaoke-chips 4271/4805/4910/4955
4986 4979 4271/4805/4910/4979/4986 MP3 Player & Mobile Phone Accessory Sets 10 A 0 0 0 mp3-player-and-mobile-phone-accessory-sets 4271/4805/4910/4979
5049 5037 4271/4805/4910/5037/5049 Speaker Bags, Covers & Cases 10 A 0 0 0 speaker-bags-covers-and-cases 4271/4805/4910/5037
5250 5239 4271/4805/5239/5250 Wireless Transmitters 10 A 0 0 0 wireless-transmitters 4271/4805/5239
4997 4982 4271/4805/4909/4982/4997 Headsets 20 A 0 0 2 headsets 4271/4805/4909/4982
4910 4805 4271/4805/4910 Audio Accessories 20 A 0 0 23 audio-accessories 4271/4805
5127 5098 4271/4805/5098/5127 CD Players & Recorders 20 A 0 0 0 cd-players-and-recorders 4271/4805/5098
4953 4909 4271/4805/4909/4953 Channel Strips 20 A 0 0 0 channel-strips 4271/4805/4909
5223 5208 4271/4805/5208/5223 DJ Systems 20 A 0 0 1 dj-systems 4271/4805/5208
5035 5021 4271/4805/4909/5021/5035 Effects Processors 20 A 0 0 0 effects-processors 4271/4805/4909/5021
4938 4918 4271/4805/4909/4918/4938 FM Transmitters 20 A 0 0 0 fm-transmitters 4271/4805/4909/4918
4937 4910 4271/4805/4910/4937 Headphone & Headset Accessories 20 A 0 0 62 headphone-and-headset-accessories 4271/4805/4910
4996 4979 4271/4805/4910/4979/4996 MP3 Player Cases 20 A 0 0 0 mp3-player-cases 4271/4805/4910/4979
5137 5120 4271/4805/4909/5120/5137 Power Amplifiers 20 A 0 0 0 power-amplifiers 4271/4805/4909/5120
5063 5037 4271/4805/4910/5037/5063 Speaker Components & Kits 20 A 0 0 12 speaker-components-and-kits 4271/4805/4910/5037
5179 5098 4271/4805/5098/5179 Stereo Systems 20 A 0 0 1 stereo-systems 4271/4805/5098
5138 5098 4271/4805/5098/5138 Cassette Players & Recorders 30 A 0 0 0 cassette-players-and-recorders 4271/4805/5098
5098 4805 4271/4805/5098 Audio Players & Recorders 30 A 0 0 3 audio-players-and-recorders 4271/4805
4969 4909 4271/4805/4909/4969 Direct Boxes 30 A 0 0 0 direct-boxes 4271/4805/4909
5044 5021 4271/4805/4909/5021/5044 Equalizers 30 A 0 0 0 equalizers 4271/4805/4909/5021
4955 4910 4271/4805/4910/4955 Karaoke System Accessories 30 A 0 0 0 karaoke-system-accessories 4271/4805/4910
5071 5037 4271/4805/4910/5037/5071 Speaker Stand Bags 30 A 0 0 0 speaker-stand-bags 4271/4805/4910/5037
5185 5098 4271/4805/5098/5185 Turntables & Record Players 30 A 0 0 0 turntables-and-record-players 4271/4805/5098
5053 5021 4271/4805/4909/5021/5053 Loudspeaker Management Systems 40 A 0 0 0 loudspeaker-management-systems 4271/4805/4909/5021
4979 4910 4271/4805/4910/4979 MP3 Player Accessories 40 A 0 0 0 mp3-player-accessories 4271/4805/4910
5194 5098 4271/4805/5098/5194 Voice Recorders 40 A 0 0 0 voice-recorders 4271/4805/5098
4982 4909 4271/4805/4909/4982 Headphones & Headsets 40 A 0 0 56 headphones-and-headsets 4271/4805/4909
5143 5098 4271/4805/5098/5143 Home Theater Systems 40 A 0 0 0 home-theater-systems 4271/4805/5098
5078 5037 4271/4805/4910/5037/5078 Speaker Stands & Mounts 40 A 0 0 0 speaker-stands-and-mounts 4271/4805/4910/5037
5200 4805 4271/4805/5200 Bullhorns 50 A 0 0 0 bullhorns 4271/4805
5150 5098 4271/4805/5098/5150 Jukeboxes 50 A 0 0 0 jukeboxes 4271/4805/5098
5007 4910 4271/4805/4910/5007 Microphone Accessories 50 A 0 0 10 microphone-accessories 4271/4805/4910
5060 5021 4271/4805/4909/5021/5060 Microphone Preamps 50 A 0 0 0 microphone-preamps 4271/4805/4909/5021
5003 4909 4271/4805/4909/5003 Microphones 50 A 0 0 0 microphones 4271/4805/4909
5081 5037 4271/4805/4910/5037/5081 Tactile Transducers 50 A 0 0 0 tactile-transducers 4271/4805/4910/5037
5155 5098 4271/4805/5098/5155 Karaoke Systems 60 A 0 0 0 karaoke-systems 4271/4805/5098
5019 4910 4271/4805/4910/5019 Microphone Stands 60 A 0 0 0 microphone-stands 4271/4805/4910
5208 4805 4271/4805/5208 DJ & Specialty Audio 60 A 0 0 0 dj-and-specialty-audio 4271/4805
5069 5021 4271/4805/4909/5021/5069 Noise Gates & Compressors 60 A 0 0 0 noise-gates-and-compressors 4271/4805/4909/5021
5021 4909 4271/4805/4909/5021 Signal Processors 60 A 0 0 0 signal-processors 4271/4805/4909
5080 4909 4271/4805/4909/5080 Speakers 70 A 0 0 9 speakers 4271/4805/4909
5164 5098 4271/4805/5098/5164 MP3 Players 70 A 0 0 1 mp3-players 4271/4805/5098
5074 5021 4271/4805/4909/5021/5074 Phono Preamps 70 A 0 0 0 phono-preamps 4271/4805/4909/5021
5232 4805 4271/4805/5232 Public Address Systems 70 A 0 0 0 public-address-systems 4271/4805
5027 4910 4271/4805/4910/5027 Satellite Radio Accessories 70 A 0 0 0 satellite-radio-accessories 4271/4805/4910
5169 5098 4271/4805/5098/5169 MiniDisc Players & Recorders 80 A 0 0 0 minidisc-players-and-recorders 4271/4805/5098
5037 4910 4271/4805/4910/5037 Speaker Accessories 80 A 0 0 0 speaker-accessories 4271/4805/4910
5239 4805 4271/4805/5239 Stage Equipment 80 A 0 0 0 stage-equipment 4271/4805
5089 4909 4271/4805/4909/5089 Studio Recording Bundles 80 A 0 0 0 studio-recording-bundles 4271/4805/4909
5104 4909 4271/4805/4909/5104 Audio & Video Receivers 90 A 0 0 0 audio-and-video-receivers 4271/4805/4909
5177 5098 4271/4805/5098/5177 Multitrack Recorders 90 A 0 0 0 multitrack-recorders 4271/4805/5098
5086 4910 4271/4805/4910/5086 Turntable Accessories 90 A 0 0 0 turntable-accessories 4271/4805/4910
5120 4909 4271/4805/4909/5120 Audio Amplifiers 100 A 0 0 15 audio-amplifiers 4271/4805/4909
5182 5098 4271/4805/5098/5182 Radios 100 A 0 0 2 radios 4271/4805/5098
5145 4909 4271/4805/4909/5145 Audio Mixers 110 A 0 0 0 audio-mixers 4271/4805/4909