Prepend executed query to profiler

Signed-off-by: crynobone <crynobone@gmail.com>