@duerer, after a good night’s sleep, I remember Simon Thommes saying that Mix Shaders are really expensive and although a Principled Shader looks like only one Node, it is already a ‘mixing of Shaders’ under the hood (probably).
So let’s do all the masking before the Principled Shader like this:

(Sorry for not aligning my Noodles…)
Even my 10 year old Nvidia GT630 can handle this and you don’t change the material this way :

As you can see, no error message.