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 (15645)

Query time 0.00354

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "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": ["const"],
          "rows": 2,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "fl",
          "key_length": "9",
          "used_key_parts": ["feature_id", "lang_code"],
          "ref": ["dev_db.gpf.feature_id", "const"],
          "rows": 18,
          "filtered": 100,
          "index_condition": "pfv.lang_code = 'vi'"
        }
      },
      {
        "table": {
          "table_name": "gp",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "PRIMARY",
          "key_length": "6",
          "used_key_parts": ["product_id", "group_id"],
          "ref": ["dev_db.pfv.product_id", "const"],
          "rows": 1,
          "filtered": 100,
          "using_index": true
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
23512 34076 81601 15645
23512 34077 81601 15645
23512 34079 81602 15645
23512 34080 81602 15645
23512 34082 81603 15645
23512 34083 81603 15645
23512 34085 81604 15645
23512 34086 81604 15645
23512 34088 81605 15645
23512 34089 81605 15645
23512 34091 81606 15645
23512 34092 81606 15645
23512 34094 81607 15645
23512 34095 81607 15645
23512 34097 81608 15645
23512 34098 81608 15645
23512 34100 81609 15645
23512 34101 81609 15645
23512 34053 81610 15645
23512 34054 81610 15645
23512 34056 81611 15645
23512 34057 81611 15645
23512 34059 81612 15645
23512 34060 81612 15645
23512 34062 81613 15645
23512 34063 81613 15645
23512 34065 81614 15645
23512 34066 81614 15645
23512 34068 81615 15645
23512 34069 81615 15645
23512 34071 81616 15645
23512 34072 81616 15645
23512 34074 81617 15645
23512 34075 81617 15645
23513 34053 81619 15645
23513 34056 81619 15645
23513 34059 81619 15645
23513 34062 81619 15645
23513 34065 81619 15645
23513 34068 81619 15645
23513 34071 81619 15645
23513 34074 81619 15645
23513 34076 81619 15645
23513 34079 81619 15645
23513 34082 81619 15645
23513 34085 81619 15645
23513 34088 81619 15645
23513 34091 81619 15645
23513 34094 81619 15645
23513 34097 81619 15645
23513 34100 81619 15645
23513 34054 81620 15645
23513 34057 81620 15645
23513 34060 81620 15645
23513 34063 81620 15645
23513 34066 81620 15645
23513 34069 81620 15645
23513 34072 81620 15645
23513 34075 81620 15645
23513 34077 81620 15645
23513 34080 81620 15645
23513 34083 81620 15645
23513 34086 81620 15645
23513 34089 81620 15645
23513 34092 81620 15645
23513 34095 81620 15645
23513 34098 81620 15645
23513 34101 81620 15645