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 (873, 932, 934)

Query time 0.00328

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "139.09"
    },
    "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": 44,
          "rows_produced_per_join": 44,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (873,932,934))",
          "cost_info": {
            "read_cost": "16.16",
            "eval_cost": "4.40",
            "prefix_cost": "20.56",
            "data_read_per_join": "704"
          },
          "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": 167,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "29.01",
            "eval_cost": "16.78",
            "prefix_cost": "80.37",
            "data_read_per_join": "129K"
          },
          "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": 167,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "41.94",
            "eval_cost": "16.78",
            "prefix_cost": "139.09",
            "data_read_per_join": "17K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 12713 1935 873
624 12713 1803 873
625 12713 2143 873
627 12713 1954 873
628 12713 1660 873
553 12712 1935 873
624 12712 1803 873
625 12712 2132 873
627 12712 1954 873
628 12712 1660 873
553 12711 1935 873
624 12711 1803 873
625 12711 2131 873
627 12711 1954 873
628 12711 1660 873
553 12710 1935 873
624 12710 1803 873
625 12710 2415 873
627 12710 1954 873
628 12710 1660 873
553 12709 1935 873
624 12709 1803 873
625 12709 2413 873
627 12709 1954 873
628 12709 1660 873
553 12708 1935 873
624 12708 1705 873
625 12708 2143 873
627 12708 1954 873
628 12708 1660 873
553 12707 1935 873
624 12707 1705 873
625 12707 2132 873
627 12707 1954 873
628 12707 1660 873
553 12706 1935 873
624 12706 1705 873
625 12706 2131 873
627 12706 1954 873
628 12706 1660 873
553 12705 1935 873
624 12705 1705 873
625 12705 2415 873
627 12705 1954 873
628 12705 1660 873
553 12684 1935 873
624 12684 1705 873
625 12684 2413 873
627 12684 2290 873
628 12684 1660 873
553 12685 1935 873
624 12685 1705 873
625 12685 2415 873
627 12685 2290 873
628 12685 1660 873
553 12686 1935 873
624 12686 1705 873
625 12686 2131 873
627 12686 2290 873
628 12686 1660 873
553 12687 1935 873
624 12687 1705 873
625 12687 2132 873
627 12687 2290 873
628 12687 1660 873
553 12688 1935 873
624 12688 1705 873
625 12688 2143 873
627 12688 2290 873
628 12688 1660 873
553 12689 1935 873
624 12689 1803 873
625 12689 2413 873
627 12689 2290 873
628 12689 1660 873
553 12690 1935 873
624 12690 1803 873
625 12690 2415 873
627 12690 2290 873
628 12690 1660 873
553 12691 1935 873
624 12691 1803 873
625 12691 2131 873
627 12691 2290 873
628 12691 1660 873
553 12692 1935 873
624 12692 1803 873
625 12692 2132 873
627 12692 2290 873
628 12692 1660 873
553 12693 1935 873
624 12693 1803 873
625 12693 2143 873
627 12693 2290 873
628 12693 1660 873
553 12694 1935 873
624 12694 1705 873
625 12694 2413 873
627 12694 1836 873
628 12694 1660 873
553 12695 1935 873
624 12695 1705 873
625 12695 2415 873
627 12695 1836 873
628 12695 1660 873
553 12696 1935 873
624 12696 1705 873
625 12696 2131 873
627 12696 1836 873
628 12696 1660 873
553 12697 1935 873
624 12697 1705 873
625 12697 2132 873
627 12697 1836 873
628 12697 1660 873
553 12698 1935 873
624 12698 1705 873
625 12698 2143 873
627 12698 1836 873
628 12698 1660 873
553 12699 1935 873
624 12699 1803 873
625 12699 2413 873
627 12699 1836 873
628 12699 1660 873
553 12700 1935 873
624 12700 1803 873
625 12700 2415 873
627 12700 1836 873
628 12700 1660 873
553 12701 1935 873
624 12701 1803 873
625 12701 2131 873
627 12701 1836 873
628 12701 1660 873
553 12702 1935 873
624 12702 1803 873
625 12702 2132 873
627 12702 1836 873
628 12702 1660 873
553 12703 1935 873
624 12703 1803 873
625 12703 2143 873
627 12703 1836 873
628 12703 1660 873
553 12704 1935 873
624 12704 1705 873
625 12704 2413 873
627 12704 1954 873
628 12704 1660 873
553 13164 1973 932
595 13164 1789 932
622 13164 2497 932
623 13164 2541 932
624 13164 1803 932
625 13164 2122 932
626 13164 2043 932
627 13164 1659 932
628 13164 1660 932
636 13164 2348 932
637 13164 2345 932
646 13164 2370 932
647 13164 2374 932
553 13165 1973 932
595 13165 2499 932
622 13165 2497 932
623 13165 2541 932
624 13165 1803 932
625 13165 2122 932
626 13165 2043 932
627 13165 1659 932
628 13165 1660 932
636 13165 2348 932
637 13165 2345 932
646 13165 2370 932
647 13165 2374 932
553 13166 1973 932
595 13166 1787 932
622 13166 2497 932
623 13166 2541 932
624 13166 1803 932
625 13166 2122 932
626 13166 2043 932
627 13166 1659 932
628 13166 1660 932
636 13166 2348 932
637 13166 2345 932
646 13166 2370 932
647 13166 2374 932
553 13167 1973 932
595 13167 1900 932
622 13167 2497 932
623 13167 2541 932
624 13167 1803 932
625 13167 2122 932
626 13167 2043 932
627 13167 1659 932
628 13167 1660 932
636 13167 2348 932
637 13167 2345 932
646 13167 2370 932
647 13167 2374 932
553 13168 1973 932
595 13168 1899 932
622 13168 2497 932
623 13168 2541 932
624 13168 1803 932
625 13168 2122 932
626 13168 2043 932
627 13168 1659 932
628 13168 1660 932
636 13168 2348 932
637 13168 2345 932
646 13168 2370 932
647 13168 2374 932
553 13163 1973 932
595 13163 1905 932
622 13163 2497 932
623 13163 2541 932
624 13163 1803 932
625 13163 2122 932
626 13163 2043 932
627 13163 1659 932
628 13163 1660 932
636 13163 2348 932
637 13163 2345 932
646 13163 2370 932
647 13163 2374 932
553 13162 1973 932
595 13162 1904 932
622 13162 2497 932
623 13162 2541 932
624 13162 1803 932
625 13162 2122 932
626 13162 2043 932
627 13162 1659 932
628 13162 1660 932
636 13162 2348 932
637 13162 2345 932
646 13162 2370 932
647 13162 2374 932
553 13169 1973 934
595 13169 1904 934
622 13169 2497 934
623 13169 2501 934
624 13169 1803 934
625 13169 2123 934
626 13169 1721 934
627 13169 1659 934
628 13169 1660 934
636 13169 2348 934
637 13169 2345 934
646 13169 2370 934
647 13169 2374 934
553 13171 1973 934
595 13171 1789 934
622 13171 2497 934
623 13171 2501 934
624 13171 1803 934
625 13171 2123 934
626 13171 1721 934
627 13171 1659 934
628 13171 1660 934
636 13171 2348 934
637 13171 2345 934
646 13171 2370 934
647 13171 2374 934
553 13172 1973 934
595 13172 2499 934
622 13172 2497 934
623 13172 2501 934
624 13172 1803 934
625 13172 2123 934
626 13172 1721 934
627 13172 1659 934
628 13172 1660 934
636 13172 2348 934
637 13172 2345 934
646 13172 2370 934
647 13172 2374 934
553 13173 1973 934
595 13173 1787 934
622 13173 2497 934
623 13173 2501 934
624 13173 1803 934
625 13173 2123 934
626 13173 1721 934
627 13173 1659 934
628 13173 1660 934
636 13173 2348 934
637 13173 2345 934
646 13173 2370 934
647 13173 2374 934
553 13174 1973 934
595 13174 1900 934
622 13174 2497 934
623 13174 2501 934
624 13174 1803 934
625 13174 2123 934
626 13174 1721 934
627 13174 1659 934
628 13174 1660 934
636 13174 2348 934
637 13174 2345 934
646 13174 2370 934
647 13174 2374 934
553 13175 1973 934
595 13175 1899 934
622 13175 2497 934
623 13175 2501 934
624 13175 1803 934
625 13175 2123 934
626 13175 1721 934
627 13175 1659 934
628 13175 1660 934
636 13175 2348 934
637 13175 2345 934
646 13175 2370 934
647 13175 2374 934
553 13170 1973 934
595 13170 1905 934
622 13170 2497 934
623 13170 2501 934
624 13170 1803 934
625 13170 2123 934
626 13170 1721 934
627 13170 1659 934
628 13170 1660 934
636 13170 2348 934
637 13170 2345 934
646 13170 2370 934
647 13170 2374 934