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 (
    8354, 8355, 8356, 8357, 8358, 8359, 8360, 
    8361
  )

Query time 0.00123

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "109.31"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 32,
          "rows_produced_per_join": 32,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "7.44",
            "eval_cost": "6.40",
            "prefix_cost": "13.84",
            "data_read_per_join": "512"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ],
          "attached_condition": "(`webmarco`.`gp`.`group_id` in (8354,8355,8356,8357,8358,8359,8360,8361))"
        }
      },
      {
        "table": {
          "table_name": "gpf",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "webmarco.gp.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 45,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "32.01",
            "eval_cost": "9.06",
            "prefix_cost": "54.92",
            "data_read_per_join": "4K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "fpl",
          "used_key_parts": [
            "feature_id",
            "product_id",
            "lang_code"
          ],
          "key_length": "12",
          "ref": [
            "webmarco.gpf.feature_id",
            "webmarco.gp.product_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 45,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "45.32",
            "eval_cost": "9.06",
            "prefix_cost": "109.31",
            "data_read_per_join": "35K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
939 371843 63938 8354
939 377765 63939 8354
939 377766 63940 8354
939 377767 63941 8354
939 371848 63937 8355
939 377768 63938 8355
939 377769 63939 8355
939 377770 63940 8355
939 377771 63941 8355
939 371861 63941 8356
939 377772 65309 8356
939 377773 65310 8356
939 377774 65311 8356
939 377775 65312 8356
939 371868 65309 8357
939 377776 65311 8357
939 371873 65309 8358
939 377777 65310 8358
939 377778 65311 8358
939 377779 65312 8358
939 371878 63941 8359
939 377780 65309 8359
939 377781 65310 8359
939 377782 65311 8359
939 377783 65312 8359
939 371884 65309 8360
939 377784 65310 8360
939 377785 65311 8360
939 377786 65312 8360
939 371890 65310 8361
939 377787 65311 8361
939 377788 65312 8361