Building the query plan turns out to be REALLY, REALLY  expensive. Only build and print it when using log.debug!