I have queries that return thousands of results, is it posible to show only query time without actual results in MySQL console or from command line?
Use SET profiling = 1;
at command prompt.
It's not possible to get the execution time without getting result or getting sql executed.
See why we can not get execution time without actual query execution