SELECT 
  cscart_categories.category_id, 
  cscart_categories.parent_id, 
  cscart_categories.id_path, 
  cscart_category_descriptions.category, 
  cscart_categories.position, 
  cscart_categories.status, 
  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 = 'es' 
  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 = 'es' 
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.00355

JSON explain

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