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 (
    236, 349, 231, 274, 259, 341, 267, 271, 
    405, 233, 343, 238, 285, 237, 240, 298, 
    262, 408, 546, 388, 270, 656, 291, 581, 
    437, 430, 573, 658, 296, 657, 660, 582, 
    572, 659, 699, 653, 654, 951
  )

Query time 0.00197

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "106.41"
    },
    "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": 38,
          "rows_produced_per_join": 38,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`gpf`.`group_id` in (236,349,231,274,259,341,267,271,405,233,343,238,285,237,240,298,262,408,546,388,270,656,291,581,437,430,573,658,296,657,660,582,572,659,699,653,654,951))",
          "cost_info": {
            "read_cost": "22.81",
            "eval_cost": "3.80",
            "prefix_cost": "26.61",
            "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": 114,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "28.50",
            "eval_cost": "11.40",
            "prefix_cost": "66.51",
            "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": 114,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "28.50",
            "eval_cost": "11.40",
            "prefix_cost": "106.41",
            "data_read_per_join": "88K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
656 2587 1560 231
656 2588 1559 231
656 2589 1600 231
656 2590 2315 231
656 2593 2315 233
656 2594 1560 233
656 2595 1600 233
656 2603 1600 236
656 2609 1559 236
656 2610 1560 236
656 2611 2315 236
656 2613 1600 237
656 2614 2315 237
656 2617 1559 238
656 2618 1560 238
656 2619 1560 240
656 2622 1559 240
656 2696 1600 259
656 2697 1609 259
656 2695 1559 259
656 2694 1560 259
656 2704 2315 262
656 2705 1596 262
656 2706 1600 262
656 2723 1560 267
656 2724 1559 267
656 2725 1609 267
656 2726 1783 267
656 2739 1600 270
656 2740 1559 270
656 2741 1558 270
656 2742 1560 271
656 2743 1559 271
656 2744 1600 271
656 2745 1609 271
656 2761 1558 274
656 2762 1559 274
656 2763 1560 274
656 2764 1783 274
656 2828 1560 285
656 2830 1783 285
656 2831 1558 285
656 2841 1559 291
656 2849 1560 291
656 2850 1755 291
656 2865 1560 296
656 2866 1559 296
656 2867 1600 296
656 2872 1560 298
656 2873 1559 298
656 2874 1600 298
656 2875 1558 298
656 3096 1560 341
656 3097 1559 341
656 3098 2315 341
656 3104 1560 343
656 3105 1790 343
656 3106 1776 343
656 3136 1560 349
656 3137 1559 349
656 3138 1783 349
656 3423 1559 388
656 3422 1560 388
656 3610 1600 405
656 3556 1560 405
656 3557 1559 405
656 3593 1560 408
656 3594 3421 408
656 3812 1560 430
656 3813 1559 430
656 3876 1559 437
656 3877 1560 437
656 4888 1790 546
656 4891 1560 546
656 4892 1674 546
656 5122 1559 572
656 5121 1560 572
656 5124 1560 573
656 5125 1559 573
656 5155 1560 581
656 5156 1559 581
656 5157 1560 582
656 5158 1559 582
656 5979 1559 653
656 5980 1560 653
656 5981 1560 654
656 5982 1559 654
656 5984 1558 654
656 6221 1609 654
656 5999 1560 656
656 5997 7700 656
656 5998 1559 656
656 6000 1600 656
656 6001 1782 656
656 6002 1783 656
656 6003 1559 657
656 6004 1560 657
656 6005 7064 657
656 6007 1560 658
656 6008 1559 658
656 6009 1600 658
656 6010 1674 658
656 6011 1782 658
656 6012 1558 658
656 6013 6252 659
656 6014 1559 659
656 6015 1755 659
656 6019 5636 660
656 6020 1559 660
656 6021 1560 660
656 6022 1782 660
656 6023 2986 660
656 6271 8034 699
656 6272 8035 699
656 10022 1560 951
656 10028 1559 951