what is the best way to deal with players who have a understanding of the game but will call any raise/bet (any pair will do type of players).

here is an example

Last night me and my buds had a cash game. it was early in the game and the blinds were around 15/25 i think.

the blinds post, and im in early position. I have KQ suited, I wanted to weed out a couple of players so i bet 150 or 175. It goes Fold Fold Fold Call Call. Flop comes 5 5 2. I fire again at it 300. It goes Call and All-in. I insta folded as soon as he pushed. the guy to my left calls the all-in, turn 6 river K. the big blind turns over QQ .. i guess that was an alright move to push all in.. i wouldnt have made that move but wtv i guess he wanted to take it down. The guy to my left turns over fucking K9... really ?? how the hell do you call all-in with a K9??? .. Yes he won but before he rivered a K he had nothing...

please how to deal with these tards?