How do I tune a SQL statement that isn't getting partition pruning