MT#4369 custom messages virtualview for sql performance

(cherry picked from commit 21eae2b82e407c5683f82a082e61d9d8c2fa4076)
MT#4369 select min(timestamp) on custom messages

which is the time, the call started

(cherry picked from commit 1fd77a8b7e04a0d0dc329b90030baa15513c17ea)