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 (6081, 6144, 6083, 6189) 
  AND f.display_on_catalog = 'Y' 
  AND (
    f.categories_path = '' 
    OR FIND_IN_SET(521, f.categories_path) 
    OR FIND_IN_SET(522, f.categories_path) 
    OR FIND_IN_SET(535, 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.00365

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "85.41"
    },
    "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": "product_id",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 139,
            "rows_produced_per_join": 45,
            "filtered": "32.52",
            "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (6081,6144,6083,6189))",
            "cost_info": {
              "read_cost": "59.04",
              "eval_cost": "4.52",
              "prefix_cost": "63.56",
              "data_read_per_join": "34K"
            },
            "used_columns": [
              "feature_id",
              "product_id",
              "variant_id",
              "value",
              "value_int",
              "lang_code"
            ],
            "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en') and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))"
          }
        },
        {
          "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": "11.30",
              "eval_cost": "0.43",
              "prefix_cost": "79.38",
              "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(521,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(522,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(535,`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.08",
              "eval_cost": "0.43",
              "prefix_cost": "80.89",
              "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.08",
              "eval_cost": "0.43",
              "prefix_cost": "82.39",
              "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.08",
              "eval_cost": "0.43",
              "prefix_cost": "83.90",
              "data_read_per_join": "13K"
            },
            "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.08",
              "eval_cost": "0.43",
              "prefix_cost": "85.41",
              "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
6081 657 6402 E Brand Ezviz 0 0
6189 657 6402 E Brand Ezviz 0 0
6144 657 6402 E Brand Ezviz 0 0
6083 657 6402 E Brand Ezviz 0 0
6081 745 7757 S Camera Connectivity Wi-Fi 2.4 GHz (IEEE 802.11 b/g/n) 0 0
6189 745 7831 S Camera Connectivity 4G LTE 0 0
6144 745 7807 S Camera Connectivity Wi-Fi (2.4 GHz) 0 0
6083 745 7767 S Camera Connectivity Wi-Fi 2.4 GHz (IEEE 802.11 b/g/n/ax) 0 0
6189 744 7832 S Camera Type Battery-powered smart home / wire-free camera 0 0
6083 744 7768 S Camera Type Outdoor wireless battery bullet camera 0 0
6144 744 7808 S Camera Type Dual-lens (pan & tilt) fixed / wide + telephoto combo 0 0
6081 744 7758 S Camera Type Outdoor wireless solar battery camera 0 0
6081 656 1559 S Color white 0 160
6189 656 0.00 1559 S Color white 0 160
6144 656 0.00 1559 S Color white 0 160
6083 656 1560 S Color Black 0 160
6081 735 7759 S Field of View (FOV) 135° diagonal / 113° horizontal / 60° vertical 0 0
6144 735 7809 S Field of View (FOV) wide + telephoto lenses (combined view) 0 0
6189 735 7833 S Field of View (FOV) 100° diagonal 0 0
6083 735 7759 S Field of View (FOV) 135° diagonal / 113° horizontal / 60° vertical 0 0
6081 736 7760 S Focal Length 2.8 mm, F1.6 0 0
6083 736 7760 S Focal Length 2.8 mm, F1.6 0 0
6189 736 7834 S Focal Length 2.8 mm 0 0
6083 737 7769 S Night Mode IR night vision up to 15 m + Color night vision up to 15 m 0 0
6189 737 7835 S Night Mode Color night vision + IR (automatic switching) 0 0
6081 737 7761 S Night Mode IR night vision up to 15 m + Color night vision with spotlight 0 0
6144 737 7810 S Night Mode color night vision + IR / warm light + dual-lens combined night imaging 0 0
6083 738 7770 S Operating Conditions −20 °C to +50 °C, humidity ≤ 95% non-condensing 0 0
6189 738 7836 S Operating Conditions –20 °C to 50 °C, humidity ≤95% non-condensing 0 0
6081 738 7762 S Operating Conditions −20 °C to +50 °C, ≤95% humidity 0 0
6144 738 7811 S Operating Conditions –20 °C to 50 °C 0 0
6189 645 0.00 7838 S Ports microSD slot, possibly Type-C or power input port 0 110
6144 645 0.00 7813 S Ports microSD slot + solar input + motor control interface (for pan/tilt) 0 110
6083 645 0.00 7771 S Ports DC 5V / 2A power input 0 110
6081 645 0.00 7764 S Ports MicroSD slot (up to 512 GB), DC 5V/2A power input 0 110
6144 642 7812 S Resolution 2K+ per lens (dual-lens) 0 50
6083 642 7763 S Resolution 3840 × 2160 (4K, 8MP) 0 50
6081 642 7763 S Resolution 3840 × 2160 (4K, 8MP) 0 50
6189 642 7837 S Resolution Up to 2304 × 1296 (2K / 3MP class) 0 50
6081 646 1.00 7765 S Sensor 1/2.7″ 8MP Progressive Scan CMOS 0 130
6189 646 0.00 7839 S Sensor AI human / vehicle detection, motion sensor, customizable zones 0 130
6144 646 0.00 7814 S Sensor human-shape detection / co-detection between lenses (for smart tracking) 0 130
6083 646 1.00 7772 S Sensor 1/2.7″ 8-Megapixel Progressive Scan CMOS 0 130
6189 648 0.00 7840 S Storage microSD (up to 512 GB) + optional cloud storage (EZVIZ CloudPlay) 0 170
6144 648 0.00 7815 S Storage microSD card (local storage) with a maximum capacity of 512 GB 0 170
6083 648 0.00 7773 S Storage microSD card support up to 512 GB + EZVIZ Cloud storage 0 170
6081 648 0.00 7766 S Storage MicroSD card up to 512 GB, EZVIZ Cloud storage 0 170