I handle it this way:
1. I take a sedative.
2. I say hello to the TDC, use my driver's license only (even for international trips), and use a mobile boarding pass whenever possible. This means that there's nothing to scrutinize, no scribbles to write. If I'm connecting, I keep my onward boarding cards hidden. That just confuses them, and they start asking questions.
3. I plan for a "treat" after I finish security (a cocktail, a chocolate, a nice cup of coffee.)
4. Aim for queues that have no imaging at all (check www.tsastatus.net
5. I have "security clothes:" pocketless shorts and a tucked in t-shirt (i.e. obvious that I have no belt), and no shoes or socks. I carry my real clothes in my bag. It sounds extreme but it works.
6. It it's an MMW airport, I take the punishment and just try to think happy thoughts.
7. If it's a backscatter airport, I opt out. But since I have barely any clothes on, the opt out is much, much quicker.
If I'm in Europe, South America, or Israel, I don't worry about a thing. I wear normal clothes, need no medication, and don't even think twice about it.