Assalamu alaikum,
What you have mentioned are irrelevant with salat. They are sins but they have no affect on prayers. It is like saying that you can’t pray in a room where a shaved man is sitting because shaving the beard is forbidden and a sin.
Therefore, keeping alcohol in the room is a sin but it doesn’t affect the prayer.
I hope this answers your question.
And Allah knows best