Database
[{"phone":"7123456789"},{"phone":"0012345678"}]
Query
db.collection.aggregate([{"$match":{"$expr":{"$in":[{"$toInt":{"$substrCP":["$phone",{"$subtract":[{"$strLenCP":"$phone"},9]},9]}},[123456789,12345678]]}}}])