Nothing very quick that springs to mind.
First thoughts, instead of ctrl-a, use the fuzzy select tool with a large threshold to select all the layer. The threshold maxed out will select everything including transparency.
That selection unlike ctrl-a can go to a channel screenshot
https://i.imgur.com/Lm6856h.jpgRepeat for another layer, another channel
https://i.imgur.com/ZXbLxRC.jpgNow the two channels (selection masks) can be added / subtract / intersect to a combined selection.
https://i.imgur.com/80ipLkT.jpg