I have the same problem.
K95 RGB Platinium
I have set CTRL+9 for Microphone Mute (G6) and CTRL+8 for Speaker Mute (G5).
Now when I'm in Teamspeak or Discord and press the G6 and G5 keys they work too.
But if I press ESC my microphone is muted and if I press F1 my speaker is muted.
If the Icue software is switched off and he uses the hardware profiles he doesn't do that anymore and everything works fine again.
I have deleted the memory from the K95 and all profiles, and I have also completely reinstalled the software.
Translated with http://www.DeepL.com/Translator (free version)