Fix errors removing subscriptions

- MySQL lib doesn't support %s params, convert them to '?' when using
MySQL