SELECT
    eventTimestamp AS timestamp,
    _eventBodyData As payload
FROM
    "Messages.Search.Event"
WHERE
    @start_ts < eventTimestamp AND eventTimestamp <= @end_ts