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 (870, 906, 898)

Query time 0.00353

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "107.65"
    },
    "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": 34,
          "rows_produced_per_join": 34,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (870,906,898))",
          "cost_info": {
            "read_cost": "12.66",
            "eval_cost": "3.40",
            "prefix_cost": "16.06",
            "data_read_per_join": "544"
          },
          "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": 129,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "22.42",
            "eval_cost": "12.96",
            "prefix_cost": "62.28",
            "data_read_per_join": "100K"
          },
          "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": 129,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "32.41",
            "eval_cost": "12.96",
            "prefix_cost": "107.65",
            "data_read_per_join": "13K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 12617 1935 870
624 12617 2403 870
625 12617 2436 870
627 12617 2290 870
628 12617 1712 870
553 12618 1935 870
624 12618 2403 870
625 12618 2388 870
627 12618 2290 870
628 12618 1712 870
553 12619 1935 870
624 12619 2403 870
625 12619 2433 870
627 12619 1954 870
628 12619 1712 870
553 12620 1935 870
624 12620 2403 870
625 12620 2434 870
627 12620 1954 870
628 12620 1712 870
553 12621 1935 870
624 12621 2403 870
625 12621 2435 870
627 12621 1954 870
628 12621 1712 870
553 12622 1935 870
624 12622 2403 870
625 12622 2436 870
627 12622 1954 870
628 12622 1712 870
553 12623 1935 870
624 12623 2403 870
625 12623 2388 870
627 12623 1954 870
628 12623 1712 870
553 12616 1935 870
624 12616 2403 870
625 12616 2435 870
627 12616 2290 870
628 12616 1712 870
553 12615 1935 870
624 12615 2403 870
625 12615 2434 870
627 12615 2290 870
628 12615 1712 870
553 12614 1935 870
624 12614 2403 870
625 12614 2433 870
627 12614 2290 870
628 12614 1712 870
553 12613 1935 870
624 12613 2403 870
625 12613 2388 870
627 12613 1836 870
628 12613 1712 870
553 12612 1935 870
624 12612 2403 870
625 12612 2436 870
627 12612 1836 870
628 12612 1712 870
553 12611 1935 870
624 12611 2403 870
625 12611 2435 870
627 12611 1836 870
628 12611 1712 870
553 12610 1935 870
624 12610 2403 870
625 12610 2434 870
627 12610 1836 870
628 12610 1712 870
553 12609 1935 870
624 12609 2403 870
625 12609 2433 870
627 12609 1836 870
628 12609 1712 870
553 13031 1973 898
595 13031 1905 898
622 13031 2497 898
623 13031 2501 898
624 13031 1803 898
625 13031 2515 898
626 13031 2032 898
627 13031 1659 898
628 13031 1660 898
636 13031 2348 898
637 13031 2345 898
646 13031 2370 898
647 13031 2374 898
553 13032 1973 898
595 13032 2451 898
622 13032 2497 898
623 13032 2501 898
624 13032 1803 898
625 13032 2515 898
626 13032 2032 898
627 13032 1659 898
628 13032 1660 898
636 13032 2348 898
637 13032 2345 898
646 13032 2369 898
647 13032 2373 898
553 13033 1973 898
595 13033 2451 898
622 13033 2497 898
623 13033 2501 898
624 13033 1803 898
625 13033 2515 898
626 13033 2032 898
627 13033 1659 898
628 13033 1660 898
636 13033 2348 898
637 13033 2345 898
646 13033 2370 898
647 13033 2374 898
553 13034 1973 898
595 13034 1787 898
622 13034 2497 898
623 13034 2501 898
624 13034 1803 898
625 13034 2515 898
626 13034 2032 898
627 13034 1659 898
628 13034 1660 898
636 13034 2348 898
637 13034 2345 898
646 13034 2369 898
647 13034 2373 898
553 13035 1973 898
595 13035 1787 898
622 13035 2497 898
623 13035 2501 898
624 13035 1803 898
625 13035 2515 898
626 13035 2032 898
627 13035 1659 898
628 13035 1660 898
636 13035 2348 898
637 13035 2345 898
646 13035 2370 898
647 13035 2374 898
553 13036 1973 898
595 13036 1900 898
622 13036 2497 898
623 13036 2501 898
624 13036 1803 898
625 13036 2515 898
626 13036 2032 898
627 13036 1659 898
628 13036 1660 898
636 13036 2348 898
637 13036 2345 898
646 13036 2369 898
647 13036 2373 898
553 13037 1973 898
595 13037 1900 898
622 13037 2497 898
623 13037 2501 898
624 13037 1803 898
625 13037 2515 898
626 13037 2032 898
627 13037 1659 898
628 13037 1660 898
636 13037 2348 898
637 13037 2345 898
646 13037 2370 898
647 13037 2374 898
553 13038 1973 898
595 13038 1899 898
622 13038 2497 898
623 13038 2501 898
624 13038 1803 898
625 13038 2515 898
626 13038 2032 898
627 13038 1659 898
628 13038 1660 898
636 13038 2348 898
637 13038 2345 898
646 13038 2369 898
647 13038 2373 898
553 13039 1973 898
595 13039 1899 898
622 13039 2497 898
623 13039 2501 898
624 13039 1803 898
625 13039 2515 898
626 13039 2032 898
627 13039 1659 898
628 13039 1660 898
636 13039 2348 898
637 13039 2345 898
646 13039 2370 898
647 13039 2374 898
553 13028 1973 898
595 13028 1904 898
622 13028 2497 898
623 13028 2501 898
624 13028 1803 898
625 13028 2515 898
626 13028 2032 898
627 13028 1659 898
628 13028 1660 898
636 13028 2348 898
637 13028 2345 898
646 13028 2369 898
647 13028 2373 898
553 13029 1973 898
595 13029 1904 898
622 13029 2497 898
623 13029 2501 898
624 13029 1803 898
625 13029 2515 898
626 13029 2032 898
627 13029 1659 898
628 13029 1660 898
636 13029 2348 898
637 13029 2345 898
646 13029 2370 898
647 13029 2374 898
553 13030 1973 898
595 13030 1905 898
622 13030 2497 898
623 13030 2501 898
624 13030 1803 898
625 13030 2515 898
626 13030 2032 898
627 13030 1659 898
628 13030 1660 898
636 13030 2348 898
637 13030 2345 898
646 13030 2369 898
647 13030 2373 898
553 13093 1973 906
595 13093 1789 906
622 13093 2497 906
623 13093 2501 906
624 13093 1803 906
625 13093 2123 906
626 13093 1879 906
627 13093 1659 906
628 13093 1660 906
636 13093 2348 906
637 13093 2345 906
646 13093 2369 906
647 13093 2373 906
553 13094 1973 906
595 13094 2499 906
622 13094 2497 906
623 13094 2501 906
624 13094 1803 906
625 13094 2123 906
626 13094 1879 906
627 13094 1659 906
628 13094 1660 906
636 13094 2348 906
637 13094 2345 906
646 13094 2369 906
647 13094 2373 906
553 13095 1973 906
595 13095 1787 906
622 13095 2497 906
623 13095 2501 906
624 13095 1803 906
625 13095 2123 906
626 13095 1879 906
627 13095 1659 906
628 13095 1660 906
636 13095 2348 906
637 13095 2345 906
646 13095 2369 906
647 13095 2373 906
553 13096 1973 906
595 13096 1900 906
622 13096 2497 906
623 13096 2501 906
624 13096 1803 906
625 13096 2123 906
626 13096 1879 906
627 13096 1659 906
628 13096 1660 906
636 13096 2348 906
637 13096 2345 906
646 13096 2369 906
647 13096 2373 906
553 13097 1973 906
595 13097 1899 906
622 13097 2497 906
623 13097 2501 906
624 13097 1803 906
625 13097 2123 906
626 13097 1879 906
627 13097 1659 906
628 13097 1660 906
636 13097 2348 906
637 13097 2345 906
646 13097 2369 906
647 13097 2373 906
553 13091 1973 906
595 13091 1904 906
622 13091 2497 906
623 13091 2501 906
624 13091 1803 906
625 13091 2123 906
626 13091 1879 906
627 13091 1659 906
628 13091 1660 906
636 13091 2348 906
637 13091 2345 906
646 13091 2369 906
647 13091 2373 906
553 13092 1973 906
595 13092 1905 906
622 13092 2497 906
623 13092 2501 906
624 13092 1803 906
625 13092 2123 906
626 13092 1879 906
627 13092 1659 906
628 13092 1660 906
636 13092 2348 906
637 13092 2345 906
646 13092 2369 906
647 13092 2373 906