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, 930, 938)

Query time 0.00285

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,930,938))",
          "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 13261 1912 930
595 13261 1905 930
622 13261 2497 930
623 13261 2524 930
624 13261 1803 930
625 13261 2122 930
626 13261 2043 930
627 13261 2378 930
628 13261 1660 930
636 13261 2348 930
637 13261 2345 930
646 13261 2369 930
647 13261 2373 930
553 13260 1912 930
595 13260 1904 930
622 13260 2497 930
623 13260 2524 930
624 13260 1803 930
625 13260 2122 930
626 13260 2043 930
627 13260 2378 930
628 13260 1660 930
636 13260 2348 930
637 13260 2345 930
646 13260 2369 930
647 13260 2373 930
553 13262 1912 930
595 13262 1789 930
622 13262 2497 930
623 13262 2524 930
624 13262 1803 930
625 13262 2122 930
626 13262 2043 930
627 13262 2378 930
628 13262 1660 930
636 13262 2348 930
637 13262 2345 930
646 13262 2369 930
647 13262 2373 930
553 13263 1912 930
595 13263 2499 930
622 13263 2497 930
623 13263 2524 930
624 13263 1803 930
625 13263 2122 930
626 13263 2043 930
627 13263 2378 930
628 13263 1660 930
636 13263 2348 930
637 13263 2345 930
646 13263 2369 930
647 13263 2373 930
553 13264 1912 930
595 13264 1787 930
622 13264 2497 930
623 13264 2524 930
624 13264 1803 930
625 13264 2122 930
626 13264 2043 930
627 13264 2378 930
628 13264 1660 930
636 13264 2348 930
637 13264 2345 930
646 13264 2369 930
647 13264 2373 930
553 13265 1912 930
595 13265 1900 930
622 13265 2497 930
623 13265 2524 930
624 13265 1803 930
625 13265 2122 930
626 13265 2043 930
627 13265 2378 930
628 13265 1660 930
636 13265 2348 930
637 13265 2345 930
646 13265 2369 930
647 13265 2373 930
553 13266 1912 930
595 13266 1899 930
622 13266 2497 930
623 13266 2524 930
624 13266 1803 930
625 13266 2122 930
626 13266 2043 930
627 13266 2378 930
628 13266 1660 930
636 13266 2348 930
637 13266 2345 930
646 13266 2369 930
647 13266 2373 930
553 13198 1973 938
595 13198 1905 938
622 13198 2497 938
623 13198 2501 938
624 13198 1803 938
625 13198 2123 938
626 13198 1879 938
627 13198 1659 938
628 13198 1660 938
636 13198 2348 938
637 13198 2345 938
646 13198 2370 938
647 13198 2374 938
553 13199 1973 938
595 13199 1789 938
622 13199 2497 938
623 13199 2501 938
624 13199 1803 938
625 13199 2123 938
626 13199 1879 938
627 13199 1659 938
628 13199 1660 938
636 13199 2348 938
637 13199 2345 938
646 13199 2370 938
647 13199 2374 938
553 13200 1973 938
595 13200 2499 938
622 13200 2497 938
623 13200 2501 938
624 13200 1803 938
625 13200 2123 938
626 13200 1879 938
627 13200 1659 938
628 13200 1660 938
636 13200 2348 938
637 13200 2345 938
646 13200 2370 938
647 13200 2374 938
553 13201 1973 938
595 13201 1787 938
622 13201 2497 938
623 13201 2501 938
624 13201 1803 938
625 13201 2123 938
626 13201 1879 938
627 13201 1659 938
628 13201 1660 938
636 13201 2348 938
637 13201 2345 938
646 13201 2370 938
647 13201 2374 938
553 13202 1973 938
595 13202 1900 938
622 13202 2497 938
623 13202 2501 938
624 13202 1803 938
625 13202 2123 938
626 13202 1879 938
627 13202 1659 938
628 13202 1660 938
636 13202 2348 938
637 13202 2345 938
646 13202 2370 938
647 13202 2374 938
553 13203 1973 938
595 13203 1899 938
622 13203 2497 938
623 13203 2501 938
624 13203 1803 938
625 13203 2123 938
626 13203 1879 938
627 13203 1659 938
628 13203 1660 938
636 13203 2348 938
637 13203 2345 938
646 13203 2370 938
647 13203 2374 938
553 13197 1973 938
595 13197 1904 938
622 13197 2497 938
623 13197 2501 938
624 13197 1803 938
625 13197 2123 938
626 13197 1879 938
627 13197 1659 938
628 13197 1660 938
636 13197 2348 938
637 13197 2345 938
646 13197 2370 938
647 13197 2374 938