I like the system Mexico used (and may still be using) Push a button, get a green light go through, get a red light get inspected.
Of course, Mexico doesn't have the same ideas of rights as we do being based on Napoleonic code, rather than British common law.
I find random searches in this country somewhat repugnant, but less so than reverse profiling, where anyone who actually looks like the known perps is scrupulously left alone for fear of being accused of discrimination!
I have talked to three people who've personally seen granny being searched on three separate occasions, while mohammad breezed through.
I'm glad there is some balance!