You could look at it either way. For example, you could say it was Remain voters who wanted to understand why Leave voters were pleased to have won. Once someone realises they were misled by the mainstream media, and see the vote was about more than just racism/immigration, perhaps that curiosity is understandable.
In any case, we can't say for sure which side of the argument was searching for 'What is the EU?', though odds are it was a mixture of people from remain, leave, undecided and ineligible.