Updated query

1. removed the "WHERE deleted = 0" clause because we want to be able to
print labels even if we deleted the shipping module
2. added DB_PREFIX to be sure it works on all installations.