Unfortunately, you can’t do this easily. Actually those IP addresses on database are not used anywhere in Ghost at all. We need a change on Ghost that only stores the data Ghost reads from geolocation column (which are country, country_code and region), and drop all other information.
I would like to open a PR for that, but too busy with other things. But I think the best is to bring this to GitHub repository with an issue or PR. Community forum doesn’t make it visible to Ghost team.
Related: Opt-In for IP/Geolocation Collection