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_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.category_id != 264 
  AND cscart_categories.parent_id != 264 
ORDER BY 
  cscart_categories.is_trash asc, 
  cscart_categories.position asc, 
  cscart_category_descriptions.category asc

Query time 0.00129

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "48.83"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "ALL",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "parent",
              "p_category_id"
            ],
            "rows_examined_per_scan": 86,
            "rows_produced_per_join": 8,
            "filtered": "10.00",
            "cost_info": {
              "read_cost": "19.01",
              "eval_cost": "1.72",
              "prefix_cost": "20.73",
              "data_read_per_join": "22K"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "company_id",
              "usergroup_ids",
              "status",
              "position",
              "is_trash"
            ],
            "attached_condition": "(((`danishecarter_jan_demo`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`danishecarter_jan_demo`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`danishecarter_jan_demo`.`cscart_categories`.`usergroup_ids`)) and (`danishecarter_jan_demo`.`cscart_categories`.`status` = 'A') and (`danishecarter_jan_demo`.`cscart_categories`.`category_id` <> 264) and (`danishecarter_jan_demo`.`cscart_categories`.`parent_id` <> 264))"
          }
        },
        {
          "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": [
              "danishecarter_jan_demo.cscart_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 8,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "8.60",
              "eval_cost": "1.72",
              "prefix_cost": "31.05",
              "data_read_per_join": "26K"
            },
            "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": [
              "danishecarter_jan_demo.cscart_categories.category_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 8,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.06",
              "eval_cost": "1.72",
              "prefix_cost": "48.83",
              "data_read_per_join": "14K"
            },
            "used_columns": [
              "name",
              "object_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

category_id parent_id id_path category position status company_id seo_name seo_path
235 234 166/234/235 Apple iPhone 10 A 0 apple-iphone 166/234
216 215 203/215/216 Backpacks 10 A 0 backpacks 203/215
204 203 203/204 Bikes 10 A 0 bikes 203
242 241 241/242 Blu-ray Discs 10 A 0 blu-ray-discs 241
229 228 228/229 Blues 10 A 0 blues 228
222 219 219/222 Business & Investing 10 A 0 business-and-investing 219
251 250 250/251 Calculators 10 A 0 calculators 250
210 204 203/204/210 Comfort & Cruisers 10 A 0 comfort-and-cruisers 203/204
168 167 167/168 Desktops 10 A 0 desktops 167
198 196 166/196/198 Digital Cameras 10 A 0 digital-cameras 166/196
166 0 166 Electronics 10 A 0 electronics
212 211 203/211/212 Golf Clubs 10 A 0 golf-clubs 203/211
176 175 166/175/176 GPS & Navigation 10 A 0 gps-and-navigation 166/175
178 177 166/177/178 iPods 10 A 0 ipods 166/177
190 174 166/174/190 LED TVs 10 A 0 led-tvs 166/174
224 223 223/224 Men's Clothing 10 A 0 mens-clothing 223
255 263 166/254/263/255 Microsoft 10 A 0 microsoft 166/254/263
246 245 245/246 Nintendo Wii 10 A 0 nintendo-wii 245
167 0 167 Computers 15 A 0 computers
182 177 166/177/182 Android 20 A 0 android 166/177
175 166 166/175 Car Electronics 20 A 0 car-electronics 166
230 228 228/230 Classical 20 A 0 classical 228
220 219 219/220 Computing & Internet 20 A 0 computing-and-internet 219
252 250 250/252 Desk Accessories 20 A 0 desk-accessories 250
197 196 166/196/197 DSLR Cameras 20 A 0 dslr-cameras 166/196
211 203 203/211 Golf 20 A 0 golf 203
213 211 203/211/213 Golf Balls 20 A 0 golf-balls 203/211
236 234 166/234/236 HTC 20 A 0 htc 166/234
185 175 166/175/185 In-Dash Stereos 20 A 0 in-dash-stereos 166/175
169 167 167/169 Laptops 20 A 0 laptops 167
243 241 241/243 Movies (DVD) 20 A 0 movies-dvd 241
191 174 166/174/191 Plasma TVs 20 A 0 plasma-tvs 166/174
247 245 245/247 PlayStation 3 20 A 0 playstation-3 245
209 204 203/204/209 Road Bikes 20 A 0 road-bikes 203/204
217 215 203/215/217 Sleeping Bags 20 A 0 sleeping-bags 203/215
203 0 203 Sports & Outdoors 20 A 0 sports-and-outdoors
225 223 223/225 Women's Clothing 20 A 0 womens-clothing 223
193 174 166/174/193 3D TVs 30 A 0 3d-tvs 166/174
223 0 223 Apparel 30 A 0 apparel
199 196 166/196/199 Camcorders 30 A 0 camcorders 166/196
215 203 203/215 Camping 30 A 0 camping 203
221 219 219/221 Education 30 A 0 education 219
214 211 203/211/214 Golf Bags & Carts 30 A 0 golf-bags-and-carts 203/211
231 228 228/231 Jazz 30 A 0 jazz 228
240 234 166/234/240 Motorola 30 A 0 motorola 166/234
208 204 203/204/208 Mountain Bikes 30 A 0 mountain-bikes 203/204
179 177 166/177/179 MP3 Players 30 A 0 mp3-players 166/177
249 245 245/249 PlayStation Vita 30 A 0 playstation-vita 245
253 250 250/253 Safes 30 A 0 safes 250
226 223 223/226 Shoes 30 A 0 shoes 223
186 175 166/175/186 Speakers 30 A 0 speakers 166/175
218 215 203/215/218 Tents 30 A 0 tents 203/215
174 166 166/174 TV & Video 30 A 0 tv-and-video 166
244 241 241/244 TV Shows (DVD) 30 A 0 tv-shows-dvd 241
219 0 219 Books 40 A 0 books
234 166 166/234 Cell Phones 40 A 0 cell-phones 166
194 174 166/174/194 DVD & Blu-ray Players 40 A 0 dvd-and-blu-ray-players 166/174
200 196 166/196/200 Lenses 40 A 0 lenses 166/196
180 177 166/177/180 MP3 Speaker Systems 40 A 0 mp3-speaker-systems 166/177
238 234 166/234/238 Nokia 40 A 0 nokia 166/234
232 228 228/232 Rock 40 A 0 rock 228
202 175 166/175/202 Subwoofers 40 A 0 subwoofers 166/175
227 223 223/227 Watches & Jewelry 40 A 0 watches-and-jewelry 223
248 245 245/248 X-Box One 40 A 0 x-box-one 245
187 175 166/175/187 Amplifiers 50 A 0 amplifiers 166/175
181 177 166/177/181 Headphones 50 A 0 headphones 166/177
195 174 166/174/195 Home Theater Systems 50 A 0 home-theater-systems 166/174
177 166 166/177 MP3 Players 50 A 0 mp3-players 166
228 0 228 Music 50 A 0 music
237 234 166/234/237 Samsung 50 A 0 samsung 166/234
196 166 166/196 Cameras & Photo 60 A 0 cameras-and-photo 166
188 175 166/175/188 Car DVD & Video 60 A 0 car-dvd-and-video 166/175
241 0 241 Movies & TV 60 A 0 movies-and-tv
254 166 166/254 Game consoles 70 A 0 game-consoles 166
189 175 166/175/189 Radar Detectors 70 A 0 radar-detectors 166/175
245 0 245 Video Games 70 A 0 video-games
250 0 250 Office Supplies 80 A 0 office-supplies
165 167 167/165 Tablets 100 A 0 tablets 167
170 167 167/170 Monitors 110 A 0 monitors 167
171 167 167/171 Networking 120 A 0 networking 167
172 167 167/172 Printers & Scanners 130 A 0 printers-and-scanners 167
201 167 167/201 Processors 140 A 0 processors 167
263 254 166/254/263 Consoles 160 A 0 consoles 166/254