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 (887, 888, 884, 885)

Query time 0.00181

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "76.46"
    },
    "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": 24,
          "rows_produced_per_join": 24,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (887,888,884,885))",
          "cost_info": {
            "read_cost": "9.41",
            "eval_cost": "2.40",
            "prefix_cost": "11.81",
            "data_read_per_join": "384"
          },
          "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": 91,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "15.83",
            "eval_cost": "9.15",
            "prefix_cost": "44.44",
            "data_read_per_join": "70K"
          },
          "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": 91,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "22.88",
            "eval_cost": "9.15",
            "prefix_cost": "76.46",
            "data_read_per_join": "9K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 12896 1973 884
595 12896 2451 884
622 12896 2443 884
623 12896 2471 884
624 12896 1694 884
625 12896 2464 884
626 12896 2466 884
627 12896 1659 884
628 12896 1660 884
636 12896 2344 884
637 12896 2350 884
553 12897 1973 884
595 12897 2451 884
622 12897 2443 884
623 12897 2471 884
624 12897 1694 884
625 12897 2467 884
626 12897 2463 884
627 12897 1659 884
628 12897 1660 884
636 12897 2344 884
637 12897 2350 884
553 12898 1973 884
595 12898 2451 884
622 12898 2443 884
623 12898 2471 884
624 12898 1694 884
625 12898 2467 884
626 12898 2468 884
627 12898 1659 884
628 12898 1660 884
636 12898 2344 884
637 12898 2350 884
553 12899 1973 884
595 12899 2455 884
622 12899 2448 884
623 12899 2477 884
624 12899 1694 884
625 12899 2467 884
626 12899 2468 884
627 12899 1659 884
628 12899 1660 884
636 12899 2344 884
637 12899 2350 884
553 12908 1973 885
595 12908 1902 885
622 12908 2489 885
623 12908 2490 885
624 12908 1675 885
625 12908 2139 885
626 12908 2003 885
627 12908 1659 885
628 12908 1660 885
636 12908 2344 885
637 12908 2345 885
553 12907 1973 885
595 12907 1462 885
622 12907 2485 885
623 12907 2486 885
624 12907 1675 885
625 12907 2123 885
626 12907 1721 885
627 12907 1659 885
628 12907 1660 885
636 12907 2344 885
637 12907 2345 885
553 12906 1973 885
595 12906 2455 885
622 12906 2489 885
623 12906 2490 885
624 12906 1675 885
625 12906 2123 885
626 12906 1721 885
627 12906 1659 885
628 12906 1660 885
636 12906 2344 885
637 12906 2345 885
553 12905 1973 885
595 12905 1900 885
622 12905 2489 885
623 12905 2490 885
624 12905 1675 885
625 12905 2123 885
626 12905 1721 885
627 12905 1659 885
628 12905 1660 885
636 12905 2344 885
637 12905 2345 885
553 12900 1973 885
595 12900 1904 885
622 12900 2485 885
623 12900 2486 885
624 12900 1675 885
625 12900 2123 885
626 12900 1721 885
627 12900 1659 885
628 12900 1660 885
636 12900 2344 885
637 12900 2345 885
553 12901 1973 885
595 12901 2000 885
622 12901 2489 885
623 12901 2490 885
624 12901 2447 885
625 12901 2413 885
626 12901 1718 885
627 12901 1659 885
628 12901 1660 885
636 12901 2344 885
637 12901 2345 885
553 12902 1973 885
595 12902 2451 885
622 12902 2485 885
623 12902 2486 885
624 12902 1675 885
625 12902 2123 885
626 12902 1721 885
627 12902 1659 885
628 12902 1660 885
636 12902 2344 885
637 12902 2345 885
553 12903 1973 885
595 12903 1787 885
622 12903 2485 885
623 12903 2486 885
624 12903 1675 885
625 12903 2123 885
626 12903 1721 885
627 12903 1659 885
628 12903 1660 885
636 12903 2344 885
637 12903 2345 885
553 12904 1973 885
595 12904 1905 885
622 12904 2485 885
623 12904 2486 885
624 12904 1675 885
625 12904 2123 885
626 12904 1721 885
627 12904 1659 885
628 12904 1660 885
636 12904 2344 885
637 12904 2345 885
553 12920 1973 887
595 12920 1900 887
622 12920 2489 887
623 12920 2490 887
624 12920 1876 887
625 12920 2123 887
627 12920 1659 887
628 12920 1660 887
636 12920 2344 887
637 12920 2345 887
553 12919 1973 887
595 12919 1905 887
622 12919 2485 887
623 12919 2486 887
624 12919 1876 887
625 12919 2123 887
627 12919 1659 887
628 12919 1660 887
636 12919 2344 887
637 12919 2345 887
553 12918 1973 887
595 12918 1787 887
622 12918 2485 887
623 12918 2486 887
624 12918 1876 887
625 12918 2123 887
627 12918 1659 887
628 12918 1660 887
636 12918 2344 887
637 12918 2345 887
553 12917 1973 887
595 12917 2451 887
622 12917 2485 887
623 12917 2486 887
624 12917 1876 887
625 12917 2123 887
627 12917 1659 887
628 12917 1660 887
636 12917 2344 887
637 12917 2345 887
553 12916 1973 887
595 12916 1904 887
622 12916 2485 887
623 12916 2486 887
624 12916 1876 887
625 12916 2123 887
627 12916 1659 887
628 12916 1660 887
636 12916 2344 887
637 12916 2345 887
553 12925 1973 888
595 12925 1900 888
622 12925 2489 888
623 12925 2490 888
624 12925 1876 888
625 12925 2124 888
627 12925 1659 888
628 12925 1660 888
636 12925 2344 888
637 12925 2345 888
553 12924 1973 888
595 12924 1905 888
622 12924 2485 888
623 12924 2486 888
624 12924 1876 888
625 12924 2124 888
627 12924 1659 888
628 12924 1660 888
636 12924 2344 888
637 12924 2345 888
553 12923 1973 888
595 12923 1787 888
622 12923 2485 888
623 12923 2486 888
624 12923 1876 888
625 12923 2124 888
627 12923 1659 888
628 12923 1660 888
636 12923 2344 888
637 12923 2345 888
553 12922 1973 888
595 12922 2451 888
622 12922 2485 888
623 12922 2486 888
624 12922 1876 888
625 12922 2124 888
627 12922 1659 888
628 12922 1660 888
636 12922 2344 888
637 12922 2345 888
553 12921 1973 888
595 12921 1904 888
622 12921 2485 888
623 12921 2486 888
624 12921 1876 888
625 12921 2124 888
627 12921 1659 888
628 12921 1660 888
636 12921 2344 888
637 12921 2345 888