A long shot, but could it be a glass insulator for old fashioned electricity pylons/telegraph poles?
Although because of its small size, more likely for a domestic property. I used to have a very old house in Spain and we had these on the front of the house where the electricity cable entered the property.