optimized call credit spread query add common table expression