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 (
    829, 847, 824, 826, 828, 836, 825, 845, 
    851, 865, 858, 843, 859, 827, 834, 863, 
    830, 846
  )

Query time 0.00199

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "68.26"
    },
    "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": 25,
          "rows_produced_per_join": 25,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`gpf`.`group_id` in (829,847,824,826,828,836,825,845,851,865,858,843,859,827,834,863,830,846))",
          "cost_info": {
            "read_cost": "13.26",
            "eval_cost": "2.50",
            "prefix_cost": "15.76",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      },
      {
        "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": [
            "softwarepirmam_hewadelivard_cscart_4.gpf.group_id"
          ],
          "rows_examined_per_scan": 3,
          "rows_produced_per_join": 75,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "18.75",
            "eval_cost": "7.50",
            "prefix_cost": "42.01",
            "data_read_per_join": "1K"
          },
          "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": [
            "softwarepirmam_hewadelivard_cscart_4.gpf.feature_id",
            "softwarepirmam_hewadelivard_cscart_4.gp.product_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 75,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "18.75",
            "eval_cost": "7.50",
            "prefix_cost": "68.26",
            "data_read_per_join": "58K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
656 8562 1674 824
656 8563 2077 824
656 8564 1595 824
656 8565 1560 824
769 8619 8884 825
769 8621 8883 825
769 8622 8883 825
769 8623 8883 825
769 8624 8884 825
769 8625 8884 825
769 8918 8888 825
769 8919 8888 825
769 8920 8888 825
656 8619 1560 825
656 8621 1560 825
656 8622 1600 825
656 8623 2077 825
656 8624 1600 825
656 8625 2077 825
656 8918 1560 825
656 8919 1600 825
656 8920 2077 825
769 8627 8888 826
769 8631 8880 826
769 8632 8880 826
769 8633 8880 826
769 8692 8884 826
656 8627 1560 826
656 8631 1560 826
656 8632 1913 826
656 8633 2077 826
656 8692 1560 826
656 8655 2077 827
656 8656 1560 827
656 8657 1558 828
656 8658 1600 828
656 8659 2077 828
656 8660 3421 828
656 8663 3421 829
656 8664 1559 829
656 8665 1560 829
656 8666 2077 829
656 8667 1913 830
656 8668 1560 830
656 8935 2077 830
769 8568 8886 834
769 8685 8880 834
656 8689 1558 836
656 8690 1560 836
656 8691 3421 836
769 8731 8888 843
769 8733 8884 843
769 8732 8884 843
769 8734 8884 843
769 8735 8884 843
769 8736 8888 843
656 8731 1596 843
656 8733 1560 843
656 8732 1600 843
656 8734 1559 843
656 8735 3421 843
656 8736 1560 843
769 8760 8888 845
769 8763 8882 845
769 8764 8882 845
769 8765 8882 845
769 8766 8888 845
656 8760 2315 845
656 8763 1595 845
656 8764 1596 845
656 8765 1600 845
656 8766 1595 845
769 8776 8919 846
769 8777 8920 846
656 8776 1560 846
656 8777 1596 846
769 8779 8921 847
769 8780 8888 847
769 8781 8888 847
769 8782 8921 847
656 8779 3421 847
656 8780 1560 847
656 8781 3421 847
656 8782 1560 847
656 8838 1913 851
656 8840 1560 851
656 8910 2077 858
656 8911 1560 858
656 8916 2077 859
656 8917 1560 859
656 8601 1560 863
656 8931 2077 863
656 8932 3421 863
769 8936 8888 865
769 8937 8882 865
769 8939 8882 865
769 8940 8882 865
769 8941 8888 865
769 8943 8888 865
656 8936 1913 865
656 8937 1560 865
656 8939 1913 865
656 8940 2077 865
656 8941 1560 865
656 8943 2077 865