A rare 50p coin has sold for 645 times its shop value - after a collector snapped it up for an eye-watering £322.88 on eBay.