Improve/simplify various SQLAlchemy queries