SELECT 
  v.product_id, 
  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 
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 = 'en' 
  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 = 'en' 
  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 in (
    3107, 2810, 2766, 2557, 2837, 2735, 3122
  ) 
  AND f.display_on_catalog = 'Y' 
  AND (
    f.categories_path = '' 
    OR FIND_IN_SET(166, f.categories_path) 
    OR FIND_IN_SET(329, f.categories_path) 
    OR FIND_IN_SET(347, 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 = 'en' 
ORDER BY 
  fd.description, 
  fv.position

Query time 0.00463

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "81.91"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "v",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY",
              "fl",
              "variant_id",
              "lang_code",
              "product_id",
              "fpl",
              "idx_product_feature_variant_id"
            ],
            "key": "idx_product_feature_variant_id",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 132,
            "rows_produced_per_join": 42,
            "filtered": "32.52",
            "index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (3107,2810,2766,2557,2837,2735,3122)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
            "cost_info": {
              "read_cost": "56.87",
              "eval_cost": "4.29",
              "prefix_cost": "61.16",
              "data_read_per_join": "33K"
            },
            "used_columns": [
              "feature_id",
              "product_id",
              "variant_id",
              "value",
              "value_int",
              "lang_code"
            ]
          }
        },
        {
          "table": {
            "table_name": "f",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "status"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "feature_id"
            ],
            "key_length": "3",
            "ref": [
              "softwarepirmam_hewadelivard_cscart_4.v.feature_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 4,
            "filtered": "9.53",
            "cost_info": {
              "read_cost": "10.73",
              "eval_cost": "0.41",
              "prefix_cost": "76.18",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "feature_id",
              "feature_type",
              "categories_path",
              "parent_id",
              "display_on_catalog",
              "status",
              "position"
            ],
            "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`f`.`status` = 'A') and (`softwarepirmam_hewadelivard_cscart_4`.`f`.`display_on_catalog` = 'Y') and ((`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path` = '') or (0 <> find_in_set(166,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(329,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(347,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`))) and (if(`softwarepirmam_hewadelivard_cscart_4`.`f`.`parent_id`,(/* select#2 */ select `softwarepirmam_hewadelivard_cscart_4`.`df`.`status` from `softwarepirmam_hewadelivard_cscart_4`.`cscart_product_features` `df` where (`softwarepirmam_hewadelivard_cscart_4`.`df`.`feature_id` = `softwarepirmam_hewadelivard_cscart_4`.`f`.`parent_id`)),'A') = 'A') and ((`softwarepirmam_hewadelivard_cscart_4`.`v`.`variant_id` <> 0) or ((`softwarepirmam_hewadelivard_cscart_4`.`f`.`feature_type` <> 'C') and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`value` <> '')) or (`softwarepirmam_hewadelivard_cscart_4`.`f`.`feature_type` = 'C') or (`softwarepirmam_hewadelivard_cscart_4`.`v`.`value_int` <> 0)))",
            "attached_subqueries": [
              {
                "dependent": true,
                "cacheable": false,
                "query_block": {
                  "select_id": 2,
                  "cost_info": {
                    "query_cost": "0.35"
                  },
                  "table": {
                    "table_name": "df",
                    "access_type": "eq_ref",
                    "possible_keys": [
                      "PRIMARY"
                    ],
                    "key": "PRIMARY",
                    "used_key_parts": [
                      "feature_id"
                    ],
                    "key_length": "3",
                    "ref": [
                      "softwarepirmam_hewadelivard_cscart_4.f.parent_id"
                    ],
                    "rows_examined_per_scan": 1,
                    "rows_produced_per_join": 1,
                    "filtered": "100.00",
                    "cost_info": {
                      "read_cost": "0.25",
                      "eval_cost": "0.10",
                      "prefix_cost": "0.35",
                      "data_read_per_join": "440"
                    },
                    "used_columns": [
                      "feature_id",
                      "status"
                    ]
                  }
                }
              }
            ]
          }
        },
        {
          "table": {
            "table_name": "fd",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "feature_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "softwarepirmam_hewadelivard_cscart_4.v.feature_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 4,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.02",
              "eval_cost": "0.41",
              "prefix_cost": "77.61",
              "data_read_per_join": "9K"
            },
            "used_columns": [
              "feature_id",
              "description",
              "prefix",
              "suffix",
              "lang_code"
            ]
          }
        },
        {
          "table": {
            "table_name": "fv",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id"
            ],
            "key_length": "3",
            "ref": [
              "softwarepirmam_hewadelivard_cscart_4.v.variant_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 4,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.02",
              "eval_cost": "0.41",
              "prefix_cost": "79.04",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "variant_id",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "vd",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "softwarepirmam_hewadelivard_cscart_4.fv.variant_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 4,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.02",
              "eval_cost": "0.41",
              "prefix_cost": "80.48",
              "data_read_per_join": "12K"
            },
            "used_columns": [
              "variant_id",
              "variant",
              "lang_code"
            ]
          }
        },
        {
          "table": {
            "table_name": "gf",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "feature_id"
            ],
            "key_length": "3",
            "ref": [
              "softwarepirmam_hewadelivard_cscart_4.f.parent_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 4,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.02",
              "eval_cost": "0.41",
              "prefix_cost": "81.91",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "feature_id",
              "feature_type",
              "position"
            ],
            "attached_condition": "<if>(is_not_null_compl(gf), (`softwarepirmam_hewadelivard_cscart_4`.`gf`.`feature_type` = 'G'), true)"
          }
        }
      ]
    }
  }
}

Result

product_id feature_id value value_int variant_id feature_type description prefix suffix variant parent_id position gposition
2557 653 2965 S Battery 2600 mAH, up to 12 hours of playtime 0 100
2810 653 3203 S Battery 4,800 mAh, 12 hours of playback on a full charge 0 100
2837 653 3255 S Battery 9,444 mAh 0 100
2735 653 3092 S Battery 2,000 mAh, up tp 7 hours of playtime. 0 100
3107 653 3511 S Battery 6,700 mAh, up to 24 hours of playtime 0 100
3122 653 3531 S Battery 4,900mAh, up to 18 hours of playback 0 100
2766 653 3136 S Battery 2500mAh, providing up to 12 hours of playback on a full charge. 0 100
2810 657 3006 E Brand JBL 0 0
2837 657 3006 E Brand JBL 0 0
2766 657 3006 E Brand JBL 0 0
3107 657 2082 E Brand Anker 0 0
2735 657 3006 E Brand JBL 0 0
3122 657 2082 E Brand Anker 0 0
2557 657 2082 E Brand Anker 0 0
3107 654 3512 S Charging Type Charges via USB-C 0 120
2766 654 3137 S Charging Type USB-C in about 3 hours, providing up to 24 hours of playback. 0 120
2735 654 3093 S Charging Type USB-C, about 3 hours for a full charge for up to 7 hours of playback. 0 120
3122 654 3532 S Charging Type Charges via USB-C, fully charges in 5.5 hours 0 120
2837 654 1771 S Charging Type USB-C 0 120
2810 654 3205 S Charging Type USB-C port and charges fully in under 3.5 hours. 0 120
3107 656 1560 S Color Black 0 160
3122 656 1560 S Color Black 0 160
2837 656 1600 S Color Blue 0 160
2557 656 1560 S Color Black 0 160
2735 656 2315 S Color Red 0 160
2810 656 1560 S Color Black 0 160
2766 656 1560 S Color Black 0 160
2810 659 3206 S Connectivity Wi-Fi, Bluetooth, Ethernet (RJ-45), USB-C, 3.5mm audio in, and AirPlay 2 connectivity. 0 152
3107 659 3513 S Connectivity Bluetooth 5.0, 3.5 mm AUX input 0 152
2735 659 3094 S Connectivity Bluetooth 5.1, range of up to 10 meters. 0 152
2557 659 2968 S Connectivity Bluettoth 4.2, with a range of 20 meters 0 152
2837 659 3257 S Connectivity Bluetooth 5.3, Auracast. 0 152
2766 659 3138 S Connectivity Bluetooth for wireless audio, and 3.5mm AUX for wired connection. 0 152
3122 659 3533 S Connectivity Bluetooth 5.3, 3.5mm AUX input, USB‑A output (supports PartyCast 2.0 for chaining up to 100 speakers) 0 152
2837 683 0.00 4517 S Input USB-C (5 V⎓3 A) 0 310
2766 683 0.00 4489 S Input USB-C (5 V ⎓ 2 A) 0 310
2557 683 2966 S Input Micro-USB (5V-1A) 0 310
2735 683 3095 S Input USB-C charging port 0 310
3122 683 3534 S Input USB-C (charging), 3.5mm AUX input (audio in) 0 310
2810 683 3165 S Input AC mains power (plug in) 0 310
2557 684 2967 S Output Audio via two 5W drivers (10 total), 360° sound with BassUp Tech 0 320
3122 684 3535 S Output USB‑A port (5 V/1 A), for charging external devices 0 320
3107 684 3514 S Output 16W (2×8W) with dual 1.5" titanium diaphragm drivers and dual passive radiators 0 320
2735 684 3096 S Output 5 W 0 320
2837 684 40.00 4518 S Output 40 W RMS (2 × 20 W) 0 320
2766 684 3139 S Output 30 W × 2 (Dual 50 mm drivers). 0 320
2810 684 3207 S Output 2–3 V RMS per channel, 0 320
2810 645 3204 S Ports 3.5 mm analog audio in jack, Ethernet (RJ‑45), USB‑C port (for USB audio or service), and USB‑A port (for audio passthrough and bus power). 0 110