Ok... two days I'm yelling at the pc, now that I recorded and posted the question an idea is come: is the issue caused by the software I used to import the database?
I imported the database using HeidiSQL, then Adminer but the problem was always there. Now I used PhpMyAdmin, and everything works perfectly.
So problem solved, but I really don't know what could be the cause. 🤷♂️
What is the difference betweend importing a .sql file with HeidiSQL, Adminer or PhpMyAdmin?