SELECT 
  v.feature_id, 
  v.value, 
  v.value_int, 
  v.variant_id, 
  f.feature_type, 
  fd.description, 
  fd.prefix, 
  fd.suffix, 
  vd.variant, 
  f.parent_id, 
  f.position, 
  gf.position as gposition, 
  f.display_on_header, 
  f.display_on_catalog, 
  f.display_on_product, 
  f.feature_code, 
  f.purpose 
FROM 
  cscart_product_features as f 
  LEFT JOIN cscart_product_features_values as v ON v.feature_id = f.feature_id 
  LEFT JOIN cscart_product_features_descriptions as fd ON fd.feature_id = v.feature_id 
  AND fd.lang_code = 'ja' 
  LEFT JOIN cscart_product_feature_variants fv ON fv.variant_id = v.variant_id 
  LEFT JOIN cscart_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id 
  AND vd.lang_code = 'ja' 
  LEFT JOIN cscart_product_features as gf ON gf.feature_id = f.parent_id 
  AND gf.feature_type = 'G' 
WHERE 
  f.status IN ('A') 
  AND v.product_id = 248 
  AND f.display_on_catalog = 'Y' 
  AND (
    f.categories_path = '' 
    OR FIND_IN_SET(245, f.categories_path) 
    OR FIND_IN_SET(248, f.categories_path) 
    OR FIND_IN_SET(166, f.categories_path) 
    OR FIND_IN_SET(254, f.categories_path) 
    OR FIND_IN_SET(263, f.categories_path) 
    OR FIND_IN_SET(255, f.categories_path)
  ) 
  AND IF(
    f.parent_id, 
    (
      SELECT 
        status 
      FROM 
        cscart_product_features as df 
      WHERE 
        df.feature_id = f.parent_id
    ), 
    'A'
  ) IN ('A') 
  AND (
    v.variant_id != 0 
    OR (
      f.feature_type != 'C' 
      AND v.value != ''
    ) 
    OR (f.feature_type = 'C') 
    OR v.value_int != ''
  ) 
  AND v.lang_code = 'ja' 
ORDER BY 
  fd.description, 
  fv.position

Query time 0.00012

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "fd.description, fv.position",
      "temporary_table": {
        "table": {
          "table_name": "v",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "variant_id",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "product_id",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "ref": ["const"],
          "rows": 47,
          "filtered": 93.83753204,
          "attached_condition": "v.lang_code = 'ja'"
        },
        "table": {
          "table_name": "f",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "status"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["feature_id"],
          "ref": ["smscrm_edev.v.feature_id"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "f.`status` = 'A' and f.display_on_catalog = 'Y' and (f.categories_path = '' or find_in_set(245,f.categories_path) or find_in_set(248,f.categories_path) or find_in_set(166,f.categories_path) or find_in_set(254,f.categories_path) or find_in_set(263,f.categories_path) or find_in_set(255,f.categories_path)) and if(f.parent_id,(subquery#2),'A') = 'A' and (v.variant_id <> 0 or f.feature_type <> 'C' and v.`value` <> '' or f.feature_type = 'C' or v.value_int <> '')"
        },
        "table": {
          "table_name": "fd",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["feature_id", "lang_code"],
          "ref": ["smscrm_edev.v.feature_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(fd.lang_code = 'ja')"
        },
        "table": {
          "table_name": "fv",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["variant_id"],
          "ref": ["smscrm_edev.v.variant_id"],
          "rows": 1,
          "filtered": 100
        },
        "table": {
          "table_name": "vd",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["variant_id", "lang_code"],
          "ref": ["smscrm_edev.fv.variant_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(vd.lang_code = 'ja' and trigcond(fv.variant_id is not null))"
        },
        "table": {
          "table_name": "gf",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["feature_id"],
          "ref": ["smscrm_edev.f.parent_id"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(gf.feature_type = 'G')"
        },
        "subqueries": [
          {
            "expression_cache": {
              "state": "uninitialized",
              "query_block": {
                "select_id": 2,
                "table": {
                  "table_name": "df",
                  "access_type": "eq_ref",
                  "possible_keys": ["PRIMARY"],
                  "key": "PRIMARY",
                  "key_length": "3",
                  "used_key_parts": ["feature_id"],
                  "ref": ["smscrm_edev.f.parent_id"],
                  "rows": 1,
                  "filtered": 100
                }
              }
            }
          }
        ]
      }
    }
  }
}

Result

feature_id value value_int variant_id feature_type description prefix suffix variant parent_id position gposition display_on_header display_on_catalog display_on_product feature_code purpose
47 N 0 C 3D サポート 20 0 10 N Y Y find_products
29 144 S CPU 8-core AMD 24 0 20 N Y Y find_products
28 143 S CPU スピード 1.75 GHz 24 0 20 N Y Y find_products
22 Y 0 C HD サポート 20 0 10 N Y Y find_products
25 140 S RAM 8192 MB, DDR3 24 0 20 N Y Y find_products
34 Y 0 C Video プレイバック 33 0 30 N Y Y find_products
45 161 S カラー ブラック 40 0 50 N Y Y find_products
26 141 S グラフィックスプロセッサ 統合 AMD Radeon GPU 24 0 20 N Y Y find_products
44 160 M コンソールビデオゲームとの互換性 Xbox One 40 0 50 N Y Y find_products
41 はい, ワイヤレス 0 T コントローラ付属 40 0 50 N Y Y describe_product
35 153 M サポートされているストレージデバイス DVD RW 33 0 30 N Y Y find_products
35 152 M サポートされているストレージデバイス DVD R 33 0 30 N Y Y find_products
35 154 M サポートされているストレージデバイス CD 33 0 30 N Y Y find_products
35 151 M サポートされているストレージデバイス DVD 33 0 30 N Y Y find_products
35 150 M サポートされているストレージデバイス ブルーレイ 33 0 30 N Y Y find_products
36 155 M サポートされているフォーマット WMA 33 0 30 N Y Y find_products
21 137 S タイプ 定常 20 0 10 N Y Y find_products
23 139 S ハードドライブ 500 GB 20 0 10 Y Y Y find_products
43 159 S ビデオゲームストレージ BD (ブルーレイディスク) 40 0 50 N Y Y find_products
31 146 M ポート USB x2 30 0 40 N Y Y find_products
31 145 M ポート HDMI 30 0 40 N Y Y find_products
31 147 M ポート 光オーディオ出力 30 0 40 N Y Y find_products
42 157 M 付属アクセサリー HDMI ケーブル 40 0 50 N Y Y find_products
42 156 M 付属アクセサリー ヘッドセット 40 0 50 N Y Y find_products
42 158 M 付属アクセサリー USB ケーブル 40 0 50 N Y Y find_products
38 343x81x264 mm 0 T 寸法 (W x H x D) 37 0 100 N Y Y describe_product
27 142 S 浮動小数点演算のシステム性能 1.23 TFLOPs 24 0 20 N Y Y find_products
46 HDMI; complectation Kinect 2.0 0 T 特徴 40 0 50 N Y Y describe_product
32 149 M 通信 イーサネット 30 0 40 N Y Y find_products
32 148 M 通信 Wi-Fi (802.11b/g/n) 30 0 40 N Y Y find_products
39 3.62 kg 0 T 重量 37 0 100 N Y Y describe_product