query in nanoseconds