It's not luck, it's survivor bias on the reporting.
He probably pulls 20-100 [0] people over every day. All of those checks are unconstitutional. Once every 1-100 days one of them has something worth going to court over. Most of those will be plea-bargained and never reach a judge. If it's sufficiently serious, though, it's worth the fight in court. So the judge will only see the really serious cases.
And we're only seeing the reporting because the judge did something unusual and ruled the entire operation unconstitutional.
So it's not "wow! those cops really know their business; they pulled over the one person carrying meth!". It's "wow! out of thousands of illegal, unconsitutional, vehicle stops, one person got taken to court and put in front of a judge, and that case was thrown out"
[0] I have no idea on actual numbers. The point still holds.