Query multiplexing