How to stack/layer two textures with alpha over each other with Material nodes?
The alpha channel of both images can be combined ( in this case  it works if you add them, but you can also do other operations depending on your needs) and used to control the mix for the colors or shaders:



or: