Does your plugin use a version number?
On plugin activation you can compare the version number and use the code you have above to remove the ‘old’ options if they exist.
if ( $myplugin_version > 3.0 ) {
// Remove all plugin options with the prefix "myplugin_"
}