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 (
    15855, 17273, 17001, 14458, 14675, 17207, 
    15860, 15399
  )

Query time 0.00804

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": 37,
          "filtered": 100,
          "index_condition": "gp.group_id in (15855,17273,17001,14458,14675,17207,15860,15399)"
        }
      },
      {
        "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
22176 634 77662 14458
22176 24930 77658 14458
22176 24931 77659 14458
22176 24932 77660 14458
22176 24933 77661 14458
22413 294 78622 14675
22413 26109 78621 14675
23278 31953 80747 15399
23278 32130 80748 15399
23278 32131 80749 15399
23278 32132 80750 15399
23278 32133 80751 15399
23278 32134 80752 15399
23278 32135 80753 15399
23278 32136 80754 15399
23278 32137 80755 15399
23731 36296 82376 15855
23731 49250 82378 15855
23731 49251 82379 15855
23731 49252 82380 15855
23731 49249 82377 15855
23736 36304 82394 15860
23736 36703 82395 15860
23736 36704 82396 15860
24751 47133 86319 17001
24751 47132 86318 17001
24751 47131 86317 17001
24751 47084 86316 17001
24952 48768 87006 17207
24952 48772 87007 17207
24952 48773 87008 17207
24952 48774 87009 17207
24952 48775 87010 17207
25027 49487 87298 17273
25027 49489 87300 17273