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, 
  cscart_categories.ab__lc_catalog_image_control 
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 = 'vn' 
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 '265/%' 
  AND cscart_categories.category_id != 264 
  AND cscart_categories.parent_id != 264 
  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.00134

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": [
                "PRIMARY",
                "c_status",
                "parent",
                "id_path",
                "p_category_id"
              ],
              "rows": 131,
              "filtered": 20.61068726,
              "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 '265/%' and cscart_categories.category_id <> 264 and cscart_categories.parent_id <> 264 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": ["demov2026.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": [
                "demov2026.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 = 'vn')"
            }
          }
        ]
      }
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id seo_name seo_path ab__lc_catalog_image_control
286 285 265/285/286 AB: Accessories for fishing 0 A 0 0 ab-accessories-for-fishing 265/285 none
282 265 265/282 AB: Backpacks 0 A 0 0 ab-backpacks 265 top
272 265 265/272 AB: Bicycle 0 A 0 0 ab-bicycle 265 none
280 278 265/278/280 AB: Boxing pears, Sacks 0 A 0 0 ab-boxing-pears-sacks 265/278 none
266 265 265/266 AB: Camping 0 A 0 0 ab-camping 265 top
277 276 265/276/277 AB: Camping furniture 0 A 0 0 ab-camping-furniture 265/276 none
273 272 265/272/273 AB: Comfort & Cruisers 0 A 0 0 ab-comfort-and-cruisers 265/272 none
270 266 265/266/270 AB: Dishes 0 A 0 0 ab-dishes 265/266 none
285 265 265/285 AB: Fishing Supplies 0 A 0 0 ab-fishing-supplies 265 top
287 265 265/287 AB: Golf 0 A 0 0 ab-golf 265 top
289 287 265/287/289 AB: Golf Balls 0 A 0 0 ab-golf-balls 265/287 none
288 287 265/287/288 AB: Golf Clubs 0 A 0 0 ab-golf-clubs 265/287 none
292 290 265/290/292 AB: Inflatable Pools 0 A 0 0 ab-inflatable-pools 265/290 none
281 278 265/278/281 AB: Makiwara, paws for boxing 0 A 0 0 ab-makiwara-paws-for-boxing 265/278 none
279 278 265/278/279 AB: Martial Arts 0 A 0 0 ab-martial-arts 265/278 none
291 290 265/290/291 AB: Masks and fins 0 A 0 0 ab-masks-and-fins 265/290 none
269 266 265/266/269 AB: Mattresses and rugs 0 A 0 0 ab-mattresses-and-rugs 265/266 none
283 282 265/282/283 AB: Men's hiking backpacks 0 A 0 0 ab-mens-hiking-backpacks 265/282 none
275 272 265/272/275 AB: Mountain Bikes 0 A 0 0 ab-mountain-bikes 265/272 none
276 265 265/276 AB: Picnic items 0 A 0 0 ab-picnic-items 265 top
274 272 265/272/274 AB: Road Bikes 0 A 0 0 ab-road-bikes 265/272 none
267 266 265/266/267 AB: Sleeping bags 0 A 0 0 ab-sleeping-bags 265/266 none
278 265 265/278 AB: Sport equipment 0 A 0 0 ab-sport-equipment 265 top
268 266 265/266/268 AB: Tents 0 A 0 0 ab-tents 265/266 none
271 266 265/266/271 AB: Thermoses 0 A 0 0 ab-thermoses 265/266 none
290 265 265/290 AB: Water recreation 0 A 0 0 ab-water-recreation 265 top
284 282 265/282/284 AB: Women's camp backpacks 0 A 0 0 ab-womens-camp-backpacks 265/282 none