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 = 24207 
  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.00142

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "32.97"
    },
    "grouping_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "6.99"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_product_features_descriptions",
            "access_type": "ALL",
            "possible_keys": [
              "PRIMARY"
            ],
            "rows_examined_per_scan": 107,
            "rows_produced_per_join": 10,
            "filtered": "10.00",
            "cost_info": {
              "read_cost": "9.88",
              "eval_cost": "1.07",
              "prefix_cost": "10.95",
              "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",
              "lang_code",
              "product_id",
              "fpl",
              "idx_product_feature_variant_id",
              "fl"
            ],
            "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": "6.30",
              "eval_cost": "0.70",
              "prefix_cost": "18.65",
              "data_read_per_join": "279"
            },
            "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.75",
              "eval_cost": "0.70",
              "prefix_cost": "21.09",
              "data_read_per_join": "3K"
            },
            "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.75",
              "eval_cost": "0.70",
              "prefix_cost": "23.54",
              "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.75",
              "eval_cost": "0.70",
              "prefix_cost": "25.98",
              "data_read_per_join": "52K"
            },
            "used_columns": [
              "variant_id",
              "variant",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

feature_id feature_type name val
31 C Express Delivery N
56 M Diet Gluten Free,Vegan,Plant Based
59 M Certifications FSSAI
60 M kindcode Plant Based
62 E Brand Nutraj
65 M Key Ingredients Walnut
67 N Net Weight
73 M For Concerns General Wellness,Weight Management,Heart Health
74 N Net Content
93 M Food Type Dry Fruits
118 M Highlights Non GMO,No Added Preservatives
121 T Calories 671
123 T Protein 16.24
124 T Sugar 3.5
125 T Total Fats 58.05
126 T Carbs 20.21
128 T Fiber 7.1
130 T Length 21
131 T Breadth 13
132 T Height 6
133 C Most Loved N
155 C Test Promo Y
156 C Update image Y
167 M Sale Identifier NOHALFPRICE2207