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 (874, 955, 1002, 376)

Query time 0.00085

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "39.80"
    },
    "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": 15,
          "rows_produced_per_join": 15,
          "filtered": "100.00",
          "index_condition": "(`cscart_db`.`gp`.`group_id` in (874,955,1002,376))",
          "cost_info": {
            "read_cost": "6.26",
            "eval_cost": "1.50",
            "prefix_cost": "7.76",
            "data_read_per_join": "240"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ]
        }
      },
      {
        "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": [
            "cscart_db.gp.group_id"
          ],
          "rows_examined_per_scan": 2,
          "rows_produced_per_join": 30,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "7.50",
            "eval_cost": "3.00",
            "prefix_cost": "18.26",
            "data_read_per_join": "3K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id",
            "fl"
          ],
          "key": "idx_product_feature_variant_id",
          "used_key_parts": [
            "product_id",
            "feature_id",
            "lang_code"
          ],
          "key_length": "12",
          "ref": [
            "cscart_db.gp.product_id",
            "cscart_db.gpf.feature_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 36,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "17.87",
            "eval_cost": "3.67",
            "prefix_cost": "39.80",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
102 8928 26717 376
102 6868 24794 376
67 35421 12444 874
74 35421 19150 874
65 35421 25605 874
103 35421 21902 874
67 35422 12434 874
74 35422 19150 874
65 35422 25605 874
103 35422 21902 874
67 65146 12444 955
103 65146 25125 955
65 65146 58069 955
67 65148 12444 955
103 65148 47880 955
65 65148 22214 955
67 65147 12445 955
103 65147 25125 955
65 65147 58069 955
67 65149 55260 955
103 65149 25125 955
65 65149 58069 955
63 65190 10348 1002
65 65190 58116 1002
103 65190 22195 1002
74 65190 19049 1002
67 65190 12412 1002
63 65189 10348 1002
65 65189 58114 1002
103 65189 52217 1002
74 65189 19049 1002
67 65189 12412 1002
63 65195 10348 1002
65 65195 58114 1002
103 65195 52217 1002
74 65195 19049 1002
67 65195 18129 1002
63 65194 10348 1002
65 65194 58116 1002
103 65194 27840 1002
74 65194 19049 1002
67 65194 12412 1002
63 65193 10348 1002
65 65193 58114 1002
103 65193 52217 1002
74 65193 19049 1002
67 65193 12418 1002
63 65192 10348 1002
65 65192 58116 1002
103 65192 21907 1002
74 65192 19049 1002
67 65192 12412 1002
63 65191 10348 1002
65 65191 58116 1002
103 65191 22195 1002
74 65191 19049 1002
67 65191 12418 1002