Database

[{"fruit":"apple"},{"fruit":2},{test:300}]

Query

db.collection.aggregate([{$match:{$or:[{fruit:{$exists:true,$eq:"apple"}},{fruit:{$exists:false}}]}}])

Result