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 (
    8373, 8370, 8367, 8380, 8369, 8368, 8365, 
    8378, 8354, 8375, 8374, 8379, 8366, 
    7613, 8376, 8371, 8372, 8377
  )

Query time 0.00176

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "207.53"
    },
    "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": 61,
          "rows_produced_per_join": 61,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "13.28",
            "eval_cost": "12.20",
            "prefix_cost": "25.48",
            "data_read_per_join": "976"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ],
          "attached_condition": "(`webmarco`.`gp`.`group_id` in (8373,8370,8367,8380,8369,8368,8365,8378,8354,8375,8374,8379,8366,7613,8376,8371,8372,8377))"
        }
      },
      {
        "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": 86,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "61.03",
            "eval_cost": "17.29",
            "prefix_cost": "103.79",
            "data_read_per_join": "8K"
          },
          "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": 86,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "86.45",
            "eval_cost": "17.29",
            "prefix_cost": "207.53",
            "data_read_per_join": "66K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
649 366701 62611 7613
649 366702 62612 7613
649 366703 62613 7613
939 371843 63938 8354
939 377765 63939 8354
939 377766 63940 8354
939 377767 63941 8354
939 371905 63939 8365
939 377794 63940 8365
939 377795 63941 8365
939 371909 63939 8366
939 377796 63940 8366
939 377797 63941 8366
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 371929 63937 8371
939 377811 63938 8371
939 377812 63939 8371
939 377813 65309 8371
939 371933 63939 8372
939 378262 63940 8372
939 371936 63939 8373
939 379177 63940 8373
939 379178 63941 8373
939 379179 65309 8373
939 371941 63939 8374
939 379701 63940 8374
939 379702 63941 8374
939 371945 63940 8375
939 379703 63941 8375
939 371947 65310 8376
939 379704 65312 8376
939 379705 65313 8376
939 371949 65310 8377
939 379706 65314 8377
939 371984 63937 8378
939 379707 63938 8378
939 379708 63941 8378
939 379709 65309 8378
939 371988 63938 8379
939 379710 63940 8379
939 372021 63937 8380
939 379711 63938 8380
939 379712 63939 8380
939 379713 63940 8380
939 379714 63941 8380