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 (
    347, 335, 329, 330, 331, 361, 387, 388, 
    353, 324, 340
  )

Query time 0.00068

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": 25,
      "filtered": 100,
      "index_condition": "gp.group_id in (347,335,329,330,331,361,387,388,353,324,340)"
    },
    "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 3977 1498 324
578 3978 1524 324
551 3999 1205 329
551 4000 1534 329
551 4001 1535 329
551 4002 1214 329
551 4003 1536 330
551 4004 1537 330
551 4005 1206 331
551 4006 1207 331
551 4026 1544 335
551 4027 1545 335
551 4055 1207 340
551 4056 1556 340
551 4057 1557 340
551 4070 1207 347
551 4071 1556 347
551 4130 1208 353
551 4131 1206 353
551 4204 1207 361
551 4205 1206 361
551 4206 1213 361
551 4207 1215 361
578 4110 1604 387
578 4111 1605 388