How to select all columns plus one alias column in MySQL
I figured out the solution. I simple had do repeat the table name, as follows:

SELECT bin_to_uuid(id) as uuid, table_name.* FROM table_name


But if you have a solution that does not require to repeat the table name i will upvote your answer, since repeating all the table names in all the queries will bloat my the code a little.

EDIT:

As suggested in the comments by @ypercubeᵀᴹ and @Akina, looks like the * selector position is limited in MySQL. If you move the * to the first position everything works fine:

SELECT *, bin_to_uuid(id) as uuid FROM table_name