In much the same way that even laws do not apply to anything said in Congress, because the power to control political debate is the power to control government.
Except wasn't that clause to stop the Executive Branch (and anyone else) from using the machinery of the state to interfere with Congress? Not really about freedom of speech, rather keeping Congress independent from outside control.
https://en.wikipedia.org/wiki/Speech_or_Debate_Clause