Database

[{"id":1,"country":{"state":{"dl":"delhi"}}},{"id":2,"country":{"state":{"mh":"delhi"}}},{"id":3,"country":{"state":{"dl":"not-delhi"}}},{"id":4,"country":{"state":{"mh":"not-delhi"}}},{"id":5,"country":{"state":{"not-mh":"not-delhi"}}}]

Query

db.collection.find({$expr:{"$anyElementTrue":{"$map":{"input":{"$objectToArray":"$country.state"},"as":"s","in":{"$and":[{"$in":["$$s.k",["dl","mh",]]},{$eq:["$$s.v","delhi"]}]}}}}})

Result