I looked at the past 5 seasons of NBA spreads and totals, and first I just checked ATS of 10+ and O/U of 200+. This occurred 7.38% of the time, and returned an "under" percentage of 51.61%, which isn't enough to hurdle the juice at -110 (52.38% is needed).
Next I ran a non-linear optimization algorithm to maximize the percentage of unders, while changing the spread and totals variables. And there is a combo threshold that results in fairly optimal unders cashing: spreads of 9+ and totals of 210+ saw the under hit 54.73% of the time. This situation occurs much less frequently, only showing up 3.18% of the time.