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 (
    8356, 8355, 8359, 8358, 8360, 8361, 8357, 
    8363, 8362, 8373, 8364, 8370, 8367, 
    8380, 8369, 8368, 8365, 8378, 8354, 
    8375
  )

Query time 0.00145

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "254.93"
    },
    "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": 75,
          "rows_produced_per_join": 75,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "16.09",
            "eval_cost": "15.00",
            "prefix_cost": "31.09",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ],
          "attached_condition": "(`webmarco`.`gp`.`group_id` in (8356,8355,8359,8358,8360,8361,8357,8363,8362,8373,8364,8370,8367,8380,8369,8368,8365,8378,8354,8375))"
        }
      },
      {
        "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": 106,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "75.03",
            "eval_cost": "21.26",
            "prefix_cost": "127.38",
            "data_read_per_join": "10K"
          },
          "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": 106,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "106.29",
            "eval_cost": "21.26",
            "prefix_cost": "254.93",
            "data_read_per_join": "82K"
          },
          "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
939 371895 63941 8362
939 377789 65312 8362
939 371898 63941 8363
939 377790 65309 8363
939 377791 65311 8363
939 371902 65310 8364
939 377792 65311 8364
939 377793 65312 8364
939 371905 63939 8365
939 377794 63940 8365
939 377795 63941 8365
939 371912 63937 8367
939 377798 63938 8367
939 377799 63939 8367
939 377800 63940 8367
939 377801 63941 8367
939 371917 63939 8368
939 377802 63941 8368
939 377803 65309 8368
939 377735 63937 8369
939 377804 63938 8369
939 377805 63939 8369
939 377806 63940 8369
939 377807 63941 8369
939 377755 63937 8370
939 377808 63938 8370
939 377809 63939 8370
939 377810 63940 8370
939 371936 63939 8373
939 379177 63940 8373
939 379178 63941 8373
939 379179 65309 8373
939 371945 63940 8375
939 379703 63941 8375
939 371984 63937 8378
939 379707 63938 8378
939 379708 63941 8378
939 379709 65309 8378
939 372021 63937 8380
939 379711 63938 8380
939 379712 63939 8380
939 379713 63940 8380
939 379714 63941 8380