SELECT 
  pfv.feature_id, 
  pfv.product_id, 
  pfv.variant_id, 
  gp.group_id 
FROM 
  cscart_product_features_values AS pfv 
  INNER JOIN cscart_product_variation_group_products AS gp ON pfv.product_id = gp.product_id 
  INNER JOIN cscart_product_variation_group_features AS gpf ON gpf.group_id = gp.group_id 
  AND gpf.feature_id = pfv.feature_id 
WHERE 
  pfv.lang_code = 'en' 
  AND gp.group_id IN (338, 358, 352, 348, 342, 323, 343)

Query time 0.00039

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "gp",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "idx_group_id"],
      "key": "idx_group_id",
      "key_length": "3",
      "used_key_parts": ["group_id"],
      "rows": 18,
      "filtered": 100,
      "index_condition": "gp.group_id in (338,358,352,348,342,323,343)"
    },
    "table": {
      "table_name": "gpf",
      "access_type": "ref",
      "possible_keys": ["PRIMARY", "idx_group_id"],
      "key": "idx_group_id",
      "key_length": "3",
      "used_key_parts": ["group_id"],
      "ref": ["ymonline_livedata.gp.group_id"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "pfv",
      "access_type": "ref",
      "possible_keys": [
        "PRIMARY",
        "fl",
        "lang_code",
        "product_id",
        "fpl",
        "idx_product_feature_variant_id"
      ],
      "key": "idx_product_feature_variant_id",
      "key_length": "12",
      "used_key_parts": ["product_id", "feature_id", "lang_code"],
      "ref": [
        "ymonline_livedata.gp.product_id",
        "ymonline_livedata.gpf.feature_id",
        "const"
      ],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "pfv.lang_code = 'en'",
      "using_index": true
    }
  }
}

Result

feature_id product_id variant_id group_id
578 3974 1521 323
578 3975 1522 323
578 3976 1523 323
551 4050 1552 338
551 4051 1600 338
551 4060 1558 342
551 4061 1559 342
551 4064 1561 343
551 4365 1560 343
551 4072 1205 348
551 4119 1239 352
551 4120 1566 352
551 4121 1567 352
551 4122 1216 352
551 4123 1208 352
551 4124 1218 352
551 4189 1207 358
551 4190 1215 358
551 4191 1206 358