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_categories.like_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.storefront_id IN (0, 1) 
ORDER BY 
  cscart_categories.is_trash asc, 
  cscart_categories.position asc, 
  cscart_category_descriptions.category asc

Query time 0.00160

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": "ALL",
              "possible_keys": ["c_status"],
              "rows": 70,
              "filtered": 100,
              "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.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": ["live_clonned.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": [
                "live_clonned.cscart_categories.category_id",
                "const",
                "const",
                "const"
              ],
              "rows": 3,
              "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 product_count like_count seo_name seo_path
344 343 343/344 All Accessories 10 A 0 0 0 0 all-accessories-en 343
372 393 371/393/372 Handbags 10 A 0 1 0 0 handbags-en 371/393
395 394 371/394/395 Handbags Second-hand 10 A 0 1 0 0 handbags-second-hand-en 371/394
365 377 364/377/365 Jewelry 10 A 0 1 0 0 jewelry-en 364/377
388 387 364/387/388 Joyería Second-hand 10 A 0 1 0 0 joyeria-second-hand-en 364/387
312 318 266/318/312 Pre-owned Tops 10 A 0 1 0 1 pre-owned-tops 266/318
348 340 338/340/348 Shoes 10 A 0 0 0 0 shoes-en 338/340
287 286 266/286/287 Tops 10 A 0 1 5 9 tops 266/286
324 319 266/319/324 Upcycled Tops 10 A 0 1 0 1 upcycled-tops 266/319
288 286 266/286/288 Bottoms 20 A 0 1 2 4 bottoms 266/286
389 387 364/387/389 Bufandas Second-hand 20 A 0 1 0 0 bufandas-second-hand-en 364/387
373 393 371/393/373 Clutches 20 A 0 1 0 0 clutches-en 371/393
313 318 266/318/313 Pre-owned Bottoms 20 A 0 1 0 1 pre-owned-bottoms 266/318
366 377 364/377/366 Scarves 20 A 0 1 0 0 scarves-en 364/377
345 343 343/345 Slow Fashion Accessories 20 A 0 0 0 0 slow-fashion-accessories-en 343
340 338 338/340 Slow Fashion Shoes 20 A 0 0 0 0 slow-fashion-shoes-en 338
349 340 338/340/349 Tennis 20 A 0 0 0 0 tennis-en 338/340
325 319 266/319/325 Upcycled Bottoms 20 A 0 1 0 2 upcycled-bottoms 266/319
334 319 266/319/334 Upcycled Dresses 25 A 0 1 0 0 upcycled-dress 266/319
367 377 364/377/367 Belts 30 A 0 1 0 0 belts-en 364/377
390 387 364/387/390 Cinturones Second-hand 30 A 0 1 0 0 cinturones-second-hand-en 364/387
289 286 266/286/289 Dresses 30 A 0 1 0 0 dresses 266/286
350 340 338/340/350 Plumps 30 A 0 0 0 0 plumps-en 338/340
346 343 343/346 Pre-owned Accessories 30 A 0 0 0 0 pre-owned-accessories-en 343
314 318 266/318/314 Pre-owned Dresses 30 A 0 1 0 5 pre-owned-dresses 266/318
341 338 338/341 Pre-owned Shoes 30 A 0 0 0 0 pre-owned-shoes-en 338
374 393 371/393/374 Totes 30 A 0 1 0 0 totes-en 371/393
351 340 338/340/351 Boots 40 A 0 0 0 0 boots-en 338/340
375 393 371/393/375 Crossbody Bags 40 A 0 1 0 0 crossbody-bags-en 371/393
368 377 364/377/368 Hats 40 A 0 1 0 0 hats-en 364/377
315 318 266/318/315 Pre-owned Skirts 40 A 0 1 0 0 pre-owned-skirts 266/318
290 286 266/286/290 Skirts 40 A 0 1 0 10 skirts 266/286
391 387 364/387/391 Sombreros Second-hand 40 A 0 1 0 0 sombreros-second-hand-en 364/387
347 343 343/347 Upcycled Accessories 40 A 0 0 0 0 upcycled-accessories-en 343
326 319 266/319/326 Upcycled Accessories 40 A 0 1 0 2 upcycled-accessories 266/319
342 338 338/342 Upcycled Shoes 40 A 0 0 0 0 upcycled-shoes-en 338
376 393 371/393/376 Belt Bags 50 A 0 1 0 0 belt-bags-en 371/393
369 377 364/377/369 Other Accessories 50 A 0 1 0 0 other-accessories 364/377
392 387 364/387/392 Otros Accesorios Second-hand 50 A 0 1 0 0 otros-accesorios-second-hand-en 364/387
316 318 266/318/316 Pre-owned Sweaters 50 A 0 1 0 0 pre-owned-sweaters 266/318
291 286 266/286/291 Sweaters 50 A 0 1 0 3 sweaters 266/286
393 371 371/393 Bolsas De Marcas Mexicanas 60 A 0 1 0 0 bolsas-de-marcas-mexicanas-en 371
292 286 266/286/292 Jackets 60 A 0 1 1 4 jackets 266/286
377 364 364/377 MEXICAN BRANDS 60 A 0 1 0 0 mexican-brands 364
329 318 266/318/329 Pre-owned Jackets 60 A 0 1 1 2 pre-owned-jackets 266/318
387 364 364/387 ACCESORIOS SECOND HAND 70 A 0 1 0 0 accesorios-second-hand-en 364
294 286 266/286/294 Accessories 70 A 0 1 0 5 accessories 266/286
394 371 371/394 BAGS SECOND HAND 70 A 0 1 0 0 bags-second-hand-en 371
318 266 266/318 Pre-owned 70 A 0 1 0 1 pre-owned-fashion 267
330 318 266/318/330 Pre-Owned Accessories 70 A 0 1 0 0 pre-owned-accessories 266/318
295 286 266/286/295 Bags 80 A 0 1 0 1 bags 266/286
317 318 266/318/317 Pre-owned bags 80 A 0 1 0 0 pre-owned-bags 266/318
293 286 266/286/293 Activewear 90 A 0 1 0 2 activewear 266/286
296 286 266/286/296 Swimwear 100 A 0 1 0 0 swimwear 266/286
266 0 266 Clothing 110 A 0 1 271 11 ethically-made
268 0 268 The Look 130 A 0 0 0 4 the-look
343 0 343 Accessories 150 A 0 0 0 0 accessories-en-2
286 266 266/286 MARCAS MEXICANAS 160 A 0 1 0 1 moda-etica 266
364 0 364 ACCESSORIES 180 A 0 1 0 0 accessories-en
371 0 371 BAGS 190 A 0 1 0 0 bags-en
396 394 371/394/396 Clutches Second-hand 200 A 0 1 0 0 clutches-second-hand-en 371/394
397 394 371/394/397 Totes Second-hand 210 A 0 1 0 0 totes-second-hand-en 371/394
398 394 371/394/398 Crossbody Bags Second-hand 220 A 0 1 0 0 crossbody-bags-second-hand-en 371/394
399 394 371/394/399 Belt Bags Second-hand 230 A 0 1 0 0 belt-bags-second-hand-en 371/394