Get a query annotation

Returns a single query annotation by its ID.