Ok this should (my hard drive crashed so I can't test it on the libraries computer ) set everyone's thread subscriptions to "through control panel only". If you want to change them to "do not subscribe" replace 0 with -1.
Code:
UPDATE subscribethread SET emailupdate = 0 WHERE emailupdate IN (1, 2, 3)