SELECT 
  pf.feature_id, 
  pf.company_id, 
  pf.feature_type, 
  pf.parent_id, 
  pf.display_on_product, 
  pf.display_on_catalog, 
  pf.display_on_header, 
  tmall_product_features_descriptions.description, 
  tmall_product_features_descriptions.internal_name, 
  tmall_product_features_descriptions.lang_code, 
  tmall_product_features_descriptions.prefix, 
  tmall_product_features_descriptions.suffix, 
  pf.categories_path, 
  tmall_product_features_descriptions.full_description, 
  pf.status, 
  pf.comparison, 
  pf.position, 
  pf.purpose, 
  pf.feature_style, 
  pf.filter_style, 
  pf.feature_code, 
  pf.timestamp, 
  pf.updated_timestamp 
FROM 
  tmall_product_features AS pf 
  LEFT JOIN tmall_product_features_descriptions ON tmall_product_features_descriptions.feature_id = pf.feature_id 
  AND tmall_product_features_descriptions.lang_code = 'en' 
WHERE 
  pf.feature_type = 'G' 
  AND (
    pf.feature_id IN (20, 24, 33, 30, 40, 37) 
    OR pf.feature_id NOT IN (
      SELECT 
        parent_id 
      FROM 
        tmall_product_features
    )
  ) 
  AND pf.display_on_product = 'Y' 
  AND (
    pf.categories_path = '' 
    OR ISNULL(pf.categories_path) 
    OR FIND_IN_SET(245, pf.categories_path) 
    OR FIND_IN_SET(248, pf.categories_path) 
    OR FIND_IN_SET(166, pf.categories_path) 
    OR FIND_IN_SET(254, pf.categories_path) 
    OR FIND_IN_SET(263, pf.categories_path) 
    OR FIND_IN_SET(255, pf.categories_path)
  ) 
ORDER BY 
  pf.position, 
  tmall_product_features_descriptions.description

Query time 0.01061

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.091313933,
    "filesort": {
      "sort_key": "pf.position, tmall_product_features_descriptions.description",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "pf",
              "access_type": "ALL",
              "possible_keys": ["PRIMARY"],
              "loops": 1,
              "rows": 43,
              "cost": 0.016761015,
              "filtered": 100,
              "attached_condition": "pf.feature_type = 'G' and (pf.feature_id in (20,24,33,30,40,37) or !<in_optimizer>(pf.feature_id,pf.feature_id in (subquery#2))) and pf.display_on_product = 'Y' and (pf.categories_path = '' or pf.categories_path is null or find_in_set(245,pf.categories_path) or find_in_set(248,pf.categories_path) or find_in_set(166,pf.categories_path) or find_in_set(254,pf.categories_path) or find_in_set(263,pf.categories_path) or find_in_set(255,pf.categories_path))"
            }
          },
          {
            "table": {
              "table_name": "tmall_product_features_descriptions",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "9",
              "used_key_parts": ["feature_id", "lang_code"],
              "ref": ["tmall.pf.feature_id", "const"],
              "loops": 43,
              "rows": 1,
              "cost": 0.074552918,
              "filtered": 100,
              "attached_condition": "trigcond(tmall_product_features_descriptions.lang_code = 'en')"
            }
          }
        ],
        "subqueries": [
          {
            "materialization": {
              "query_block": {
                "select_id": 2,
                "cost": 0.016761015,
                "nested_loop": [
                  {
                    "table": {
                      "table_name": "tmall_product_features",
                      "access_type": "ALL",
                      "loops": 1,
                      "rows": 43,
                      "cost": 0.016761015,
                      "filtered": 100
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

Result

feature_id company_id feature_type parent_id display_on_product display_on_catalog display_on_header description internal_name lang_code prefix suffix categories_path full_description status comparison position purpose feature_style filter_style feature_code timestamp updated_timestamp
20 0 G 0 Y Y N Main features Main features en 248 A N 10 0 0
24 0 G 0 Y Y N Specifications Specifications en 248 A N 20 0 0
33 0 G 0 Y Y N Multimedia Multimedia en 248 A N 30 0 0
30 0 G 0 Y Y N Interfaces Interfaces en 248 A N 40 0 0
40 0 G 0 Y Y N Additional info Additional info en 248 A N 50 0 0
37 0 G 0 Y Y N Dimensions Dimensions en 248 A N 100 0 0