Database

[{"age":40,"salary":0},{"age":30,"salary":60000}]

Query

db.collection.find({"age":{"$lt":32},"salary":{"$lt":40000}})

Result