Did Ayan attempt to rape Maya or was he searching for keys. The case is actually in twilight zone. To be frank it reminds me of end of Pandavas Ajthavaasa( to stay for 1 year in a place in disguise with no one recognizing them).
Kauravas managed to understand Pandavas are hiding in Viraat Rajsabha and they want to expose them. They attack the virat kingdom unexpectedly while the king is waging war somewhere and in the kingdom only the young prince uttara is there. He makes tall claims of going for war and Arjuna disguised as brihangla takes the young prince to battle field as his charioteer. Uttara is afraid seeing all the great warriors like Bhishma and says he cannot fight. Arjuna tries to coax him, but he doesnt. Finally Arjuna takes him to the place where Arjuna's famed bow Gandheeva is kept and reveals himself. He tweaks the bow when the sun sets and comes to the battle ground as Arjuna and fights enemies.
Now the issue happens Pandavas claim they were discovered post sunset hence the day is over their kingdom has to be given, Kauravas claim the night has not fallen hence the day is not over, so Pandavas should go for another 12 year of vanvass and 1 year Ajnatha vaas. Basically Arjuna took the Gandheeva at the twilight zone. No one was right, no one was wrong. Even Lord Krishna couldnt help find peace as Kauravas refused even 5 villages to Pandavas.
Same is the case here. If Samay had arrived 5 minutes late we would have clearly known whether Ayan was searching for keys or something else. Samay came at twilight zone where both Maya and Ayan can be correct as the sides wishes to be or as the sides wants to persume.
When will the twilight zone go. A Abhimanyu has to die brutally inside Chakravyuha where all the warriors surround him and murder him most mercilessly because they cannot lose. If they cannot win as single person, well let us surround and kill from all sides.
Now the question is who is the one who has half knowledge of the incident who is going to enter Chakravyuha, to find the truth. Because power lies at the centre of Chakravyuha.