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, 
  cscart_product_features_descriptions.description, 
  cscart_product_features_descriptions.internal_name, 
  cscart_product_features_descriptions.lang_code, 
  cscart_product_features_descriptions.prefix, 
  cscart_product_features_descriptions.suffix, 
  pf.categories_path, 
  cscart_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 
  cscart_product_features AS pf 
  LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id 
  AND cscart_product_features_descriptions.lang_code = 'ja' 
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 
        cscart_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, 
  cscart_product_features_descriptions.description

Query time 0.00007

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "pf.position, cscart_product_features_descriptions.description",
      "temporary_table": {
        "table": {
          "table_name": "pf",
          "access_type": "ALL",
          "possible_keys": ["PRIMARY"],
          "rows": 35,
          "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": "cscart_product_features_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["feature_id", "lang_code"],
          "ref": ["smscrm_edev.pf.feature_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_product_features_descriptions.lang_code = 'ja')"
        },
        "subqueries": [
          {
            "query_block": {
              "select_id": 2,
              "table": {
                "table_name": "cscart_product_features",
                "access_type": "ALL",
                "rows": 35,
                "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 主要特長 主要特長 ja 248 A N 10 0 0
24 0 G 0 Y Y N 仕様 仕様 ja 248 A N 20 0 0
33 0 G 0 Y Y N マルチメディア マルチメディア ja 248 A N 30 0 0
30 0 G 0 Y Y N インターフェイス インターフェイス ja 248 A N 40 0 0
40 0 G 0 Y Y N 追加情報 追加情報 ja 248 A N 50 0 0
37 0 G 0 Y Y N 寸法 寸法 ja 248 A N 100 0 0