Clearly you should take this seriously and see a Dr to find out for sure, but the fact that you tested after coming back from the gym strongly suggests this was caused by exercise, not muscle wasting.
I'm with Bobo, keto won't have caused this, your protein intake isn't that much more than your...