SQL statement timing from MySQL 5.7 client when using a script
You can use -vvv with mysql command.

mysql -f -vvv --table -u myuser -pmypassword -h myhost mydb &lt; test.sql

&gt; mysql -vvv &lt; mysql.sql 
--------------
select now()
--------------

+---------------------+
| now()               |
+---------------------+
| 2018-03-10 04:08:33 |
+---------------------+
1 row in set (0.00 sec)

Bye


Hope it will fulfill your requirement :)