MT#4369 optimize mysql performance on callflow page

distinct is faster than group by here
drawback: we cannot select min(timestamp) anymore
query is still very slow, when filter is used