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 (7012, 7013)

Query time 0.00100

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "59.52"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gpf",
          "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": 4,
          "rows_produced_per_join": 4,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "1.81",
            "eval_cost": "0.80",
            "prefix_cost": "2.61",
            "data_read_per_join": "416"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ],
          "attached_condition": "(`webmarco`.`gpf`.`group_id` in (7012,7013))"
        }
      },
      {
        "table": {
          "table_name": "gp",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "webmarco.gpf.group_id"
          ],
          "rows_examined_per_scan": 9,
          "rows_produced_per_join": 37,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "4.04",
            "eval_cost": "7.55",
            "prefix_cost": "14.20",
            "data_read_per_join": "604"
          },
          "used_columns": [
            "product_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": 37,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "37.76",
            "eval_cost": "7.55",
            "prefix_cost": "59.52",
            "data_read_per_join": "29K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
649 264219 62608 7012
649 264909 62608 7012
649 264910 62609 7012
649 264911 62610 7012
649 264912 62611 7012
649 264913 62612 7012
649 264914 62609 7012
649 264915 62610 7012
649 264916 62611 7012
649 264917 62612 7012
882 264219 60412 7012
882 264909 60393 7012
882 264910 60393 7012
882 264911 60393 7012
882 264912 60393 7012
882 264913 60393 7012
882 264914 60412 7012
882 264915 60412 7012
882 264916 60412 7012
882 264917 60412 7012
649 264193 62608 7013
649 264918 62609 7013
649 264919 62610 7013
649 264920 62611 7013
649 264921 62612 7013
649 264922 62608 7013
649 264923 62609 7013
649 264924 62610 7013
649 264925 62611 7013
649 264926 62612 7013
882 264193 60392 7013
882 264918 60392 7013
882 264919 60392 7013
882 264920 60392 7013
882 264921 60392 7013
882 264922 60412 7013
882 264923 60412 7013
882 264924 60412 7013
882 264925 60412 7013
882 264926 60412 7013