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 (
    13428, 14216, 12211, 12622, 13826, 16674, 
    17264, 17266
  )

Query time 0.00521

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": 24,
          "filtered": 100,
          "index_condition": "gp.group_id in (13428,14216,12211,12622,13826,16674,17264,17266)"
        }
      },
      {
        "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
19683 14983 68434 12211
19683 14982 68435 12211
19683 6465 68433 12211
20147 17848 70491 12622
20147 4939 70492 12622
21036 21063 73485 13428
21036 2479 73484 13428
21478 50075 75180 13826
21478 1748 75181 13826
21915 24120 76709 14216
21915 24119 76708 14216
21915 24118 76707 14216
21915 1056 76710 14216
24450 43827 85275 16674
24450 43873 85276 16674
24450 43874 85277 16674
24450 43875 85278 16674
24450 43876 85279 16674
25018 48472 87271 17264
25018 49374 87272 17264
25018 48475 87271 17266
25018 49387 87272 17266