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 = 'vi' 
  AND gp.group_id IN (16922, 15739, 15741, 16973)

Query time 0.00132

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "rows": 29,
          "filtered": 100,
          "index_condition": "gp.group_id in (16922,15739,15741,16973)"
        }
      },
      {
        "table": {
          "table_name": "gpf",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "ref": ["dev_db.gp.group_id"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "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",
          "key_length": "12",
          "used_key_parts": ["product_id", "feature_id", "lang_code"],
          "ref": ["dev_db.gp.product_id", "dev_db.gpf.feature_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "pfv.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
23613 35738 81872 15739
23614 35738 81877 15739
23613 35764 81872 15739
23614 35764 81878 15739
23613 35765 81872 15739
23614 35765 81879 15739
23613 35766 81872 15739
23614 35766 81880 15739
23613 35767 81873 15739
23614 35767 81877 15739
23613 35768 81873 15739
23614 35768 81878 15739
23613 35769 81873 15739
23614 35769 81879 15739
23613 35770 81873 15739
23614 35770 81880 15739
23613 35771 81874 15739
23614 35771 81877 15739
23613 35772 81874 15739
23614 35772 81878 15739
23613 35773 81874 15739
23614 35773 81879 15739
23613 35774 81874 15739
23614 35774 81880 15739
23613 35775 81875 15739
23614 35775 81877 15739
23613 35776 81875 15739
23614 35776 81878 15739
23613 35777 81875 15739
23614 35777 81879 15739
23613 35778 81875 15739
23614 35778 81880 15739
23613 35779 81876 15739
23614 35779 81877 15739
23613 35780 81876 15739
23614 35780 81878 15739
23613 35781 81876 15739
23614 35781 81879 15739
23613 35782 81876 15739
23614 35782 81880 15739
23616 35740 81883 15741
23616 35784 81884 15741
23342 46599 86138 16922
23342 50154 86137 16922
23342 50152 80972 16922
23342 50153 86136 16922
23342 50155 86151 16922
24729 46993 86266 16973
24729 46624 86265 16973