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 (
    45, 340, 273, 66, 219, 175, 289, 284, 236, 
    349, 161, 293, 272, 158, 231, 307, 268, 
    274, 350, 115, 177, 259, 320, 351, 65, 
    341, 114, 116, 267, 271, 405, 159
  )

Query time 0.00284

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "89.61"
    },
    "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": 32,
          "rows_produced_per_join": 32,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`gpf`.`group_id` in (45,340,273,66,219,175,289,284,236,349,161,293,272,158,231,307,268,274,350,115,177,259,320,351,65,341,114,116,267,271,405,159))",
          "cost_info": {
            "read_cost": "19.21",
            "eval_cost": "3.20",
            "prefix_cost": "22.41",
            "data_read_per_join": "3K"
          },
          "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": 96,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "24.00",
            "eval_cost": "9.60",
            "prefix_cost": "56.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": 96,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "24.00",
            "eval_cost": "9.60",
            "prefix_cost": "89.61",
            "data_read_per_join": "74K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
656 908 1653 45
656 134 1652 45
658 1142 1701 65
658 853 1700 65
656 1146 1707 66
656 1145 1610 66
656 1144 1609 66
656 1143 1600 66
656 856 1599 66
656 1540 1912 114
656 1541 1559 114
656 1542 1559 115
656 1543 1607 115
656 1544 1607 116
656 1545 1559 116
656 2258 1558 158
656 2257 1600 158
656 2256 1560 158
656 2255 1559 158
656 2260 2443 159
656 2259 2442 159
656 2251 2441 159
656 2265 1558 161
656 2264 1600 161
656 2263 1559 161
656 2253 1560 161
656 2363 2758 175
656 2364 1600 175
656 2365 2315 175
656 2373 1560 177
656 2374 1600 177
656 2559 1560 219
656 2560 1559 219
656 3663 1596 219
656 2587 1560 231
656 2588 1559 231
656 2589 1600 231
656 2590 2315 231
656 2603 1600 236
656 2609 1559 236
656 2610 1560 236
656 2611 2315 236
656 2696 1600 259
656 2697 1609 259
656 2695 1559 259
656 2694 1560 259
656 2723 1560 267
656 2724 1559 267
656 2725 1609 267
656 2726 1783 267
656 2729 1560 268
656 2730 1559 268
656 2731 1600 268
656 2732 1558 268
656 2742 1560 271
656 2743 1559 271
656 2744 1600 271
656 2745 1609 271
656 2746 1559 272
656 2747 1609 272
656 2749 1560 272
656 2750 1724 272
656 2751 1783 272
656 2752 1724 273
656 2753 1559 273
656 2754 1560 273
656 2755 1609 273
656 2756 1783 273
656 2757 2444 273
656 2761 1558 274
656 2762 1559 274
656 2763 1560 274
656 2764 1783 274
656 2822 1560 284
656 2823 1559 284
656 2824 1755 284
656 2825 1682 284
656 2826 1558 284
656 2842 1560 289
656 2843 1559 289
656 2844 1596 289
656 2845 1600 289
656 2846 2315 289
656 2847 1558 289
656 2854 1558 293
656 2855 1559 293
656 2856 1560 293
656 2857 1596 293
656 2858 1600 293
656 2859 2315 293
656 2927 1560 307
656 2928 1559 307
656 2929 1600 307
656 2930 1609 307
656 3026 1596 320
656 3030 1560 320
656 3029 1559 320
656 3090 1560 340
656 3091 1559 340
656 3092 1596 340
656 3093 1600 340
656 3094 1558 340
656 3096 1560 341
656 3097 1559 341
656 3098 2315 341
656 3136 1560 349
656 3137 1559 349
656 3138 1783 349
656 3140 1560 350
656 3141 1559 350
656 3142 1560 351
656 3143 1596 351
656 3144 1600 351
656 3610 1600 405
656 3556 1560 405
656 3557 1559 405