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 (951, 950, 952)

Query time 0.00175

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "69.92"
    },
    "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": 22,
          "rows_produced_per_join": 22,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (951,950,952))",
          "cost_info": {
            "read_cost": "8.46",
            "eval_cost": "2.20",
            "prefix_cost": "10.66",
            "data_read_per_join": "352"
          },
          "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": "idx_product_feature_variant_id",
          "used_key_parts": [
            "product_id"
          ],
          "key_length": "3",
          "ref": [
            "test2_gaseus.gp.product_id"
          ],
          "rows_examined_per_scan": 7,
          "rows_produced_per_join": 83,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "14.51",
            "eval_cost": "8.39",
            "prefix_cost": "40.57",
            "data_read_per_join": "64K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ],
          "attached_condition": "(`test2_gaseus`.`pfv`.`lang_code` = 'en')"
        }
      },
      {
        "table": {
          "table_name": "gpf",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "feature_id",
            "group_id"
          ],
          "key_length": "6",
          "ref": [
            "test2_gaseus.pfv.feature_id",
            "test2_gaseus.gp.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 83,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "20.97",
            "eval_cost": "8.39",
            "prefix_cost": "69.92",
            "data_read_per_join": "8K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 13281 1912 950
595 13281 2451 950
622 13281 2559 950
623 13281 2524 950
624 13281 1694 950
625 13281 2413 950
626 13281 1926 950
627 13281 2290 950
628 13281 1660 950
636 13281 2344 950
637 13281 2345 950
553 13282 1912 950
595 13282 1787 950
622 13282 2559 950
623 13282 2524 950
624 13282 1694 950
625 13282 2413 950
626 13282 1926 950
627 13282 2290 950
628 13282 1660 950
636 13282 2344 950
637 13282 2345 950
553 13283 1912 950
595 13283 1905 950
622 13283 2559 950
623 13283 2524 950
624 13283 1694 950
625 13283 2413 950
626 13283 1926 950
627 13283 2290 950
628 13283 1660 950
636 13283 2344 950
637 13283 2345 950
553 13284 1912 950
595 13284 1900 950
622 13284 2559 950
623 13284 2524 950
624 13284 1694 950
625 13284 2413 950
626 13284 1926 950
627 13284 2290 950
628 13284 1660 950
636 13284 2344 950
637 13284 2345 950
553 13285 1912 950
595 13285 1462 950
622 13285 2559 950
623 13285 2524 950
624 13285 1694 950
625 13285 2413 950
626 13285 1926 950
627 13285 2290 950
628 13285 1660 950
636 13285 2344 950
637 13285 2345 950
553 13280 1912 950
595 13280 1904 950
622 13280 2559 950
623 13280 2524 950
624 13280 1694 950
625 13280 2413 950
626 13280 1926 950
627 13280 2290 950
628 13280 1660 950
636 13280 2344 950
637 13280 2345 950
553 13286 1912 951
595 13286 1904 951
622 13286 2559 951
623 13286 2524 951
624 13286 1694 951
625 13286 2122 951
626 13286 1928 951
627 13286 2290 951
628 13286 1712 951
636 13286 2344 951
637 13286 2345 951
553 13289 1912 951
595 13289 1905 951
622 13289 2559 951
623 13289 2524 951
624 13289 1694 951
625 13289 2122 951
626 13289 1928 951
627 13289 2290 951
628 13289 1712 951
636 13289 2344 951
637 13289 2345 951
553 13290 1912 951
595 13290 1900 951
622 13290 2559 951
623 13290 2524 951
624 13290 1694 951
625 13290 2122 951
626 13290 1928 951
627 13290 2290 951
628 13290 1712 951
636 13290 2344 951
637 13290 2345 951
553 13291 1912 951
595 13291 1462 951
622 13291 2559 951
623 13291 2524 951
624 13291 1694 951
625 13291 2122 951
626 13291 1928 951
627 13291 2290 951
628 13291 1712 951
636 13291 2344 951
637 13291 2345 951
553 13287 1912 951
595 13287 2451 951
622 13287 2559 951
623 13287 2524 951
624 13287 1694 951
625 13287 2122 951
626 13287 1928 951
627 13287 2290 951
628 13287 1712 951
636 13287 2344 951
637 13287 2345 951
553 13288 1912 951
595 13288 1787 951
622 13288 2559 951
623 13288 2524 951
624 13288 1694 951
625 13288 2122 951
626 13288 1928 951
627 13288 2290 951
628 13288 1712 951
636 13288 2344 951
637 13288 2345 951
553 13292 1912 952
595 13292 1904 952
622 13292 2559 952
623 13292 2524 952
624 13292 1694 952
625 13292 2413 952
626 13292 1926 952
627 13292 2290 952
628 13292 1712 952
636 13292 2344 952
637 13292 2345 952
553 13295 1912 952
595 13295 1905 952
622 13295 2559 952
623 13295 2524 952
624 13295 1694 952
625 13295 2413 952
626 13295 1926 952
627 13295 2290 952
628 13295 1712 952
636 13295 2344 952
637 13295 2345 952
553 13296 1912 952
595 13296 1900 952
622 13296 2559 952
623 13296 2524 952
624 13296 1694 952
625 13296 2413 952
626 13296 1926 952
627 13296 2290 952
628 13296 1712 952
636 13296 2344 952
637 13296 2345 952
553 13297 1912 952
595 13297 1462 952
622 13297 2559 952
623 13297 2524 952
624 13297 1694 952
625 13297 2413 952
626 13297 1926 952
627 13297 2290 952
628 13297 1712 952
636 13297 2344 952
637 13297 2345 952
553 13294 1912 952
595 13294 1787 952
622 13294 2559 952
623 13294 2524 952
624 13294 1694 952
625 13294 2413 952
626 13294 1926 952
627 13294 2290 952
628 13294 1712 952
636 13294 2344 952
637 13294 2345 952
553 13293 1912 952
595 13293 2451 952
622 13293 2559 952
623 13293 2524 952
624 13293 1694 952
625 13293 2413 952
626 13293 1926 952
627 13293 2290 952
628 13293 1712 952
636 13293 2344 952
637 13293 2345 952