This is most likley a wart.
It only hurts if it is in a part of the food where pressure is applied. If it is in the arch it may not cause pain. They will resolve eventually but hard to say when. You can see your doctor to get a visual diagnosis and decide if you want to do anything about it.