SELECT 
  cscart_product_features.feature_id, 
  cscart_product_features.feature_type, 
  cscart_product_features_descriptions.description as name, 
  CASE WHEN (
    cscart_product_features.feature_type IN ('M', 'S', 'E')
  ) THEN GROUP_CONCAT(
    cscart_product_feature_variant_descriptions.variant
  ) ELSE CASE WHEN (
    cscart_product_features.feature_type IN ('O')
  ) THEN cscart_product_features_values.value_int ELSE cscart_product_features_values.value END END as val 
FROM 
  cscart_product_features 
  INNER JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = cscart_product_features.feature_id 
  AND cscart_product_features_descriptions.lang_code = 'en' 
  INNER JOIN cscart_product_features_values ON cscart_product_features_values.feature_id = cscart_product_features_descriptions.feature_id 
  AND cscart_product_features_values.product_id = 36667 
  AND cscart_product_features_values.lang_code = 'en' 
  LEFT JOIN cscart_product_feature_variants ON cscart_product_feature_variants.variant_id = cscart_product_features_values.variant_id 
  LEFT JOIN cscart_product_feature_variant_descriptions ON cscart_product_feature_variants.variant_id = cscart_product_feature_variant_descriptions.variant_id 
  AND cscart_product_feature_variant_descriptions.lang_code = 'en' 
GROUP BY 
  cscart_product_features.feature_id

Query time 0.00156

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "31.85"
    },
    "grouping_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "6.15"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_product_features_descriptions",
            "access_type": "ALL",
            "possible_keys": [
              "PRIMARY"
            ],
            "rows_examined_per_scan": 106,
            "rows_produced_per_join": 10,
            "filtered": "10.00",
            "cost_info": {
              "read_cost": "9.79",
              "eval_cost": "1.06",
              "prefix_cost": "10.85",
              "data_read_per_join": "24K"
            },
            "used_columns": [
              "feature_id",
              "description",
              "lang_code"
            ],
            "attached_condition": "(`cscart_db`.`cscart_product_features_descriptions`.`lang_code` = 'en')"
          }
        },
        {
          "table": {
            "table_name": "cscart_product_features_values",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "fl",
              "lang_code",
              "product_id",
              "fpl",
              "idx_product_feature_variant_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "feature_id",
              "product_id"
            ],
            "key_length": "6",
            "ref": [
              "cscart_db.cscart_product_features_descriptions.feature_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 6,
            "filtered": "50.00",
            "cost_info": {
              "read_cost": "7.18",
              "eval_cost": "0.61",
              "prefix_cost": "19.26",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "feature_id",
              "product_id",
              "variant_id",
              "value",
              "value_int",
              "lang_code"
            ],
            "attached_condition": "(`cscart_db`.`cscart_product_features_values`.`lang_code` = 'en')"
          }
        },
        {
          "table": {
            "table_name": "cscart_product_features",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "feature_id"
            ],
            "key_length": "3",
            "ref": [
              "cscart_db.cscart_product_features_descriptions.feature_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 6,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.54",
              "eval_cost": "0.61",
              "prefix_cost": "21.41",
              "data_read_per_join": "2K"
            },
            "used_columns": [
              "feature_id",
              "feature_type"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_product_feature_variants",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "variant_feature_idx",
              "idx_var_feat_pos"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id"
            ],
            "key_length": "3",
            "ref": [
              "cscart_db.cscart_product_features_values.variant_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 6,
            "filtered": "100.00",
            "using_index": true,
            "cost_info": {
              "read_cost": "1.54",
              "eval_cost": "0.61",
              "prefix_cost": "23.56",
              "data_read_per_join": "7K"
            },
            "used_columns": [
              "variant_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_product_feature_variant_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "cscart_db.cscart_product_feature_variants.variant_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 6,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.54",
              "eval_cost": "0.61",
              "prefix_cost": "25.71",
              "data_read_per_join": "46K"
            },
            "used_columns": [
              "variant_id",
              "variant",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

feature_id feature_type name val
19 M Concern General Wellness,Immunity
31 C Express Delivery N
56 M Diet Gluten Free,Dairy Free,Plant Based,Organic,Vegan
59 M Certifications FSSAI
60 M kindcode Plant Based
62 E Brand Nourish You
65 M Key Ingredients Oats,Ragi,Jowar
67 N Net Weight
68 N Net Volume
74 N Net Content
93 M Food Type Dairy Alternates
114 S Caffeine Content None
116 S Roast Type None
121 T Calories 72.3
123 T Protein 1.26
124 T Sugar 3.49
125 T Total Fats 3.81
126 T Carbs 8.23
127 T Cholesterol 0
130 T Length 6.5
131 T Breadth 6.5
132 T Height 15
133 C Most Loved N
143 C BBB N
154 E Featured Ingredient
155 C Test Promo N
156 C Update image Y
160 C Target Body Part N
161 C Exclude in kc commission N
167 M Sale Identifier NOHALFPRICE2207