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_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.parent_id IN (28) 
  AND cscart_categories.id_path LIKE '28/%' 
  AND cscart_categories.category_id != 1 
  AND cscart_categories.parent_id != 1 
  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.00007

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": "ref",
              "possible_keys": [
                "PRIMARY",
                "c_status",
                "parent",
                "id_path",
                "p_category_id"
              ],
              "key": "parent",
              "key_length": "3",
              "used_key_parts": ["parent_id"],
              "ref": ["const"],
              "rows": 46,
              "filtered": 7.340824127,
              "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.id_path like '28/%' and cscart_categories.category_id <> 1 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": ["ebonza_cscart_test.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": [
                "ebonza_cscart_test.cscart_categories.category_id",
                "const",
                "const",
                "const"
              ],
              "rows": 16,
              "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 seo_name seo_path
18317 28 28/18317 Pet jewelry 20 A 0 1 pet-jewelry 28
15000 28 28/15000 Bird Supplies 120 A 0 1 pet-supplies-bird-supplies 28
15001 28 28/15001 Cat Supplies 120 A 0 1 pet-supplies-cat-supplies 28
15002 28 28/15002 Dog Supplies 120 A 0 1 pet-supplies-dog-supplies 28
15003 28 28/15003 Fish Supplies 120 A 0 1 pet-supplies-fish-supplies 28
15004 28 28/15004 Pet Agility Equipment 120 A 0 1 pet-agility-equipment 28
15005 28 28/15005 Pet Apparel Hangers 120 A 0 1 pet-supplies-pet-apparel-hangers 28
15006 28 28/15006 Pet Bed Accessories 120 A 0 1 pet-supplies-pet-bed-accessories 28
15007 28 28/15007 Pet Bells & Charms 120 A 0 1 pet-supplies-pet-bells-and-charms 28
15008 28 28/15008 Pet Biometric Monitors 120 A 0 1 pet-supplies-pet-biometric-monitors 28
15009 28 28/15009 Pet Bowl Mats 120 A 0 1 pet-supplies-pet-bowl-mats 28
15010 28 28/15010 Pet Bowl Stands 120 A 0 1 pet-supplies-pet-bowl-stands 28
15011 28 28/15011 Pet Bowls, Feeders & Waterers 120 A 0 1 pet-supplies-pet-bowls-feeders-and-waterers 28
15012 28 28/15012 Pet Carrier & Crate Accessories 120 A 0 1 pet-supplies-pet-carrier-and-crate-accessories 28
15013 28 28/15013 Pet Carriers & Crates 120 A 0 1 pet-supplies-pet-carriers-and-crates 28
15014 28 28/15014 Pet Collars & Harnesses 120 A 0 1 pet-supplies-pet-collars-and-harnesses 28
15015 28 28/15015 Pet Containment Systems 120 A 0 1 pet-supplies-pet-containment-systems 28
15016 28 28/15016 Pet Door Accessories 120 A 0 1 pet-supplies-pet-door-accessories 28
15017 28 28/15017 Pet Doors 120 A 0 1 pet-supplies-pet-doors 28
15018 28 28/15018 Pet Eye Drops & Lubricants 120 A 0 1 pet-supplies-pet-eye-drops-and-lubricants 28
15019 28 28/15019 Pet First Aid & Emergency Kits 120 A 0 1 pet-supplies-pet-first-aid-and-emergency-kits 28
15020 28 28/15020 Pet Flea & Tick Control 120 A 0 1 pet-supplies-pet-flea-and-tick-control 28
15021 28 28/15021 Pet Food Containers 120 A 0 1 pet-supplies-pet-food-containers 28
15022 28 28/15022 Pet Food Scoops 120 A 0 1 pet-supplies-pet-food-scoops 28
15023 28 28/15023 Pet Grooming Supplies 120 A 0 1 pet-supplies-pet-grooming-supplies 28
15024 28 28/15024 Pet Heating Pad Accessories 120 A 0 1 pet-supplies-pet-heating-pad-accessories 28
15025 28 28/15025 Pet Heating Pads 120 A 0 1 pet-supplies-pet-heating-pads 28
15026 28 28/15026 Pet ID Tags 120 A 0 1 pet-supplies-pet-id-tags 28
15027 28 28/15027 Pet Leash Extensions 120 A 0 1 pet-supplies-pet-leash-extensions 28
15028 28 28/15028 Pet Leashes 120 A 0 1 pet-supplies-pet-leashes 28
15029 28 28/15029 Pet Medical Collars 120 A 0 1 pet-supplies-pet-medical-collars 28
15030 28 28/15030 Pet Medical Tape & Bandages 120 A 0 1 pet-supplies-pet-medical-tape-and-bandages 28
15031 28 28/15031 Pet Medicine 120 A 0 1 pet-supplies-pet-medicine 28
15032 28 28/15032 Pet Muzzles 120 A 0 1 pet-supplies-pet-muzzles 28
15033 28 28/15033 Pet Oral Care Supplies 120 A 0 1 pet-supplies-pet-oral-care-supplies 28
15034 28 28/15034 Pet Playpens 120 A 0 1 pet-supplies-pet-playpens 28
15035 28 28/15035 Pet Steps & Ramps 120 A 0 1 pet-supplies-pet-steps-and-ramps 28
15036 28 28/15036 Pet Strollers 120 A 0 1 pet-supplies-pet-strollers 28
15037 28 28/15037 Pet Sunscreen 120 A 0 1 pet-supplies-pet-sunscreen 28
15038 28 28/15038 Pet Training Aids 120 A 0 1 pet-supplies-pet-training-aids 28
15039 28 28/15039 Pet Vitamins & Supplements 120 A 0 1 pet-supplies-pet-vitamins-and-supplements 28
15040 28 28/15040 Pet Waste Bag Dispensers & Holders 120 A 0 1 pet-supplies-pet-waste-bag-dispensers-and-holders 28
15041 28 28/15041 Pet Waste Bags 120 A 0 1 pet-supplies-pet-waste-bags 28
15042 28 28/15042 Pet Waste Disposal Systems & Tools 120 A 0 1 pet-supplies-pet-waste-disposal-systems-and-tools 28
15043 28 28/15043 Reptile & Amphibian Supplies 120 A 0 1 pet-supplies-reptile-and-amphibian-supplies 28
15044 28 28/15044 Small Animal Supplies 120 A 0 1 pet-supplies-small-animal-supplies 28
15045 28 28/15045 Vehicle Pet Barriers 120 A 0 1 pet-supplies-vehicle-pet-barriers 28