Prequote timestamps for a speed boost

I did some profiling and found that a lot of time is spent quoting the timestamps for every single row, even though the result is the same each time. We can prevent this from happening by quoting them beforehand instead. This gave me about a 5% speed boost.