If the warning is really bugging you, you can add an empty array argument as shown here: http://www.skyebook.net/blog/2012/12/wpdbprepare-warning-in-wordpress-3-5/
There’s an easy quick-fix for this by adding an empty array argument to the function call
Source