Your first post shows Q1 and Q2 to be identical. If they are not, and you're obfuscating the code, then:
1. Why are you expecting them to execute in the same time?
2. How do you expect folks to help when you're not showing the queries?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden