SELECT 
  tmall_categories.category_id, 
  tmall_categories.parent_id, 
  tmall_categories.id_path, 
  tmall_category_descriptions.category, 
  tmall_categories.position, 
  tmall_categories.status, 
  tmall_categories.company_id, 
  tmall_categories.storefront_id, 
  tmall_categories.ab__lc_catalog_image_control, 
  tmall_categories.ab__fn_category_status, 
  tmall_categories.ab__fn_label_color, 
  tmall_categories.ab__fn_label_background, 
  tmall_categories.ab__fn_use_origin_image, 
  tmall_category_descriptions.ab__fn_label_text, 
  tmall_category_descriptions.ab__fn_label_show 
FROM 
  tmall_categories 
  LEFT JOIN tmall_category_descriptions ON tmall_categories.category_id = tmall_category_descriptions.category_id 
  AND tmall_category_descriptions.lang_code = 'en' 
WHERE 
  1 = 1 
  AND (
    tmall_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, tmall_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, tmall_categories.usergroup_ids
    )
  ) 
  AND tmall_categories.status IN ('A') 
  AND tmall_categories.parent_id IN (225) 
  AND tmall_categories.id_path LIKE '223/225/%' 
  AND tmall_categories.storefront_id IN (0, 1) 
ORDER BY 
  tmall_categories.is_trash asc, 
  tmall_categories.position asc, 
  tmall_category_descriptions.category asc

Query time 0.00787

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.003787276,
    "filesort": {
      "sort_key": "tmall_categories.is_trash, tmall_categories.position, tmall_category_descriptions.category",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "tmall_categories",
              "access_type": "ref",
              "possible_keys": ["c_status", "parent", "id_path"],
              "key": "parent",
              "key_length": "3",
              "used_key_parts": ["parent_id"],
              "ref": ["const"],
              "rowid_filter": {
                "range": {
                  "key": "id_path",
                  "used_key_parts": ["id_path"]
                },
                "rows": 1,
                "selectivity_pct": 0.884955752
              },
              "loops": 1,
              "rows": 1,
              "cost": 0.00185345,
              "filtered": 0.884955764,
              "attached_condition": "(tmall_categories.usergroup_ids = '' or find_in_set(0,tmall_categories.usergroup_ids) or find_in_set(1,tmall_categories.usergroup_ids)) and tmall_categories.`status` = 'A' and tmall_categories.id_path like '223/225/%' and tmall_categories.storefront_id in (0,1)"
            }
          },
          {
            "table": {
              "table_name": "tmall_category_descriptions",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "9",
              "used_key_parts": ["category_id", "lang_code"],
              "ref": ["tmall.tmall_categories.category_id", "const"],
              "loops": 1,
              "rows": 1,
              "cost": 0.001933826,
              "filtered": 100,
              "attached_condition": "trigcond(tmall_category_descriptions.lang_code = 'en')"
            }
          }
        ]
      }
    }
  }
}