Don't assume the database prefix is wp_

Use `$wpdb->prefix` instead. It was inconsistent with the rest of the
query anyway.

Fixes #5703