On a Class of Optimal Stopping Problems with Mixed Constraints