Not cheap but I recently got a few pairs of these and they are pretty nice. Not your normal mesh liner, more like boxer briefs inside them so they are comfortable to wear for long periods.
https://www.fairharborclothing.com/products/the-anchor-short-new?variant=39316579778641