TP-16812: Max Scans, composite index, drop priority from query, throttle scanning