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 (881, 882, 954)

Query time 0.00237

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "101.36"
    },
    "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": 32,
          "rows_produced_per_join": 32,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (881,882,954))",
          "cost_info": {
            "read_cost": "11.96",
            "eval_cost": "3.20",
            "prefix_cost": "15.16",
            "data_read_per_join": "512"
          },
          "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": 122,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "21.10",
            "eval_cost": "12.20",
            "prefix_cost": "58.66",
            "data_read_per_join": "94K"
          },
          "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": 122,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "30.50",
            "eval_cost": "12.20",
            "prefix_cost": "101.36",
            "data_read_per_join": "12K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 12863 1912 881
595 12863 2457 881
622 12863 2448 881
623 12863 2444 881
624 12863 1694 881
625 12863 2122 881
626 12863 2445 881
627 12863 2290 881
628 12863 1660 881
636 12863 2344 881
637 12863 2345 881
553 12865 1912 881
595 12865 1902 881
622 12865 2448 881
623 12865 2444 881
624 12865 1992 881
625 12865 2139 881
626 12865 2458 881
627 12865 2290 881
628 12865 1660 881
636 12865 2344 881
637 12865 2345 881
553 12867 1912 881
595 12867 2075 881
622 12867 2448 881
623 12867 2444 881
624 12867 1992 881
625 12867 2413 881
626 12867 2449 881
627 12867 2290 881
628 12867 1660 881
636 12867 2344 881
637 12867 2345 881
553 12861 1912 881
595 12861 2455 881
622 12861 2448 881
623 12861 2444 881
624 12861 1694 881
625 12861 2452 881
626 12861 2456 881
627 12861 2290 881
628 12861 1660 881
636 12861 2344 881
637 12861 2350 881
553 12864 1912 881
595 12864 1972 881
622 12864 2443 881
623 12864 2444 881
624 12864 1694 881
625 12864 2122 881
626 12864 2445 881
627 12864 2290 881
628 12864 1660 881
636 12864 2344 881
637 12864 2345 881
553 12868 1912 881
595 12868 1995 881
622 12868 2448 881
623 12868 2444 881
624 12868 1992 881
625 12868 2413 881
626 12868 2449 881
627 12868 2290 881
628 12868 1660 881
636 12868 2344 881
637 12868 2345 881
553 12860 1912 881
595 12860 2455 881
622 12860 2448 881
623 12860 2444 881
624 12860 1694 881
625 12860 2452 881
626 12860 2454 881
627 12860 2290 881
628 12860 1660 881
636 12860 2344 881
637 12860 2350 881
553 12859 1912 881
595 12859 2455 881
622 12859 2448 881
623 12859 2444 881
624 12859 1694 881
625 12859 2452 881
626 12859 2453 881
627 12859 2290 881
628 12859 1660 881
636 12859 2344 881
637 12859 2350 881
553 12858 1912 881
595 12858 2455 881
622 12858 2448 881
623 12858 2444 881
624 12858 1694 881
625 12858 2122 881
626 12858 2445 881
627 12858 2290 881
628 12858 1660 881
636 12858 2344 881
637 12858 2345 881
553 12857 1912 881
595 12857 1900 881
622 12857 2448 881
623 12857 2444 881
624 12857 1694 881
625 12857 2122 881
626 12857 2445 881
627 12857 2290 881
628 12857 1660 881
636 12857 2344 881
637 12857 2345 881
553 12856 1912 881
595 12856 1905 881
622 12856 2443 881
623 12856 2444 881
624 12856 1694 881
625 12856 2122 881
626 12856 2445 881
627 12856 2290 881
628 12856 1660 881
636 12856 2344 881
637 12856 2345 881
553 12855 1912 881
595 12855 1787 881
622 12855 2443 881
623 12855 2444 881
624 12855 1694 881
625 12855 2122 881
626 12855 2445 881
627 12855 2290 881
628 12855 1660 881
636 12855 2344 881
637 12855 2345 881
553 12854 1912 881
595 12854 2451 881
622 12854 2443 881
623 12854 2444 881
624 12854 1694 881
625 12854 2452 881
626 12854 2454 881
627 12854 2290 881
628 12854 1660 881
636 12854 2344 881
637 12854 2350 881
553 12853 1912 881
595 12853 2451 881
622 12853 2443 881
623 12853 2444 881
624 12853 1694 881
625 12853 2452 881
626 12853 2453 881
627 12853 2290 881
628 12853 1660 881
636 12853 2344 881
637 12853 2350 881
553 12852 1912 881
595 12852 2451 881
622 12852 2443 881
623 12852 2444 881
624 12852 1694 881
625 12852 2122 881
626 12852 2445 881
627 12852 2290 881
628 12852 1660 881
636 12852 2344 881
637 12852 2345 881
553 12851 1912 881
595 12851 2000 881
622 12851 2448 881
623 12851 2444 881
624 12851 2447 881
625 12851 2413 881
626 12851 2449 881
627 12851 2290 881
628 12851 1660 881
636 12851 2344 881
637 12851 2345 881
553 12850 1912 881
595 12850 1904 881
622 12850 2443 881
623 12850 2444 881
624 12850 1694 881
625 12850 2122 881
626 12850 2445 881
627 12850 2290 881
628 12850 1660 881
636 12850 2344 881
637 12850 2345 881
553 12866 1912 881
595 12866 1902 881
622 12866 2448 881
623 12866 2444 881
624 12866 1992 881
625 12866 2452 881
626 12866 2460 881
627 12866 2290 881
628 12866 1660 881
636 12866 2344 881
637 12866 2345 881
553 12862 1912 881
595 12862 1462 881
622 12862 2443 881
623 12862 2444 881
624 12862 1694 881
625 12862 2122 881
626 12862 2445 881
627 12862 2290 881
628 12862 1660 881
636 12862 2344 881
637 12862 2345 881
553 12869 1912 882
595 12869 1904 882
622 12869 2443 882
623 12869 2444 882
624 12869 1705 882
625 12869 2462 882
626 12869 2463 882
627 12869 2290 882
628 12869 1660 882
636 12869 2344 882
637 12869 2350 882
553 12870 1912 882
595 12870 2451 882
622 12870 2443 882
623 12870 2444 882
624 12870 1705 882
625 12870 2464 882
626 12870 2466 882
627 12870 2290 882
628 12870 1660 882
636 12870 2344 882
637 12870 2350 882
553 12871 1912 882
595 12871 2451 882
622 12871 2443 882
623 12871 2444 882
624 12871 1705 882
625 12871 2467 882
626 12871 2463 882
627 12871 2290 882
628 12871 1660 882
636 12871 2344 882
637 12871 2350 882
553 12872 1912 882
595 12872 2451 882
622 12872 2443 882
623 12872 2444 882
624 12872 1705 882
625 12872 2467 882
626 12872 2468 882
627 12872 2290 882
628 12872 1660 882
636 12872 2344 882
637 12872 2350 882
553 12873 1912 882
595 12873 1905 882
622 12873 2443 882
623 12873 2444 882
624 12873 1705 882
625 12873 2464 882
626 12873 2465 882
627 12873 2290 882
628 12873 1660 882
636 12873 2344 882
637 12873 2350 882
553 12874 1912 882
595 12874 1900 882
622 12874 2448 882
623 12874 2444 882
624 12874 1705 882
625 12874 2464 882
626 12874 2469 882
627 12874 2290 882
628 12874 1660 882
636 12874 2344 882
637 12874 2350 882
553 12875 1912 882
595 12875 2455 882
622 12875 2448 882
623 12875 2444 882
624 12875 1705 882
625 12875 2467 882
626 12875 2469 882
627 12875 2290 882
628 12875 1660 882
636 12875 2344 882
637 12875 2350 882
627 12802 2290 954
628 12802 1660 954
627 13324 2424 954
628 13324 1712 954
627 13323 2290 954
628 13323 1712 954
627 13322 1836 954
628 13322 1712 954
627 13321 2424 954
628 13321 1660 954
627 13320 1836 954
628 13320 1660 954