The Madrid court found the five guilty of negligent homicide and sentenced them to prison terms ranging from two-and-a-half to four years.
Another two men were fined 3,600 euros (USD 4,000) for their role in the deaths.
The court ordered the seven men to pay 350,000 euros (USD 393,000) to the families of each victim of the tragedy.
Three women aged between 18 and 20 were killed in a stampede in the early hours of November 1, 2012 at the Madrid-Arena venue, and two others aged 17 and 20 died later in hospital from their injuries.
More From This Section
The court said that he sold 16,492 tickets for a venue that could only hold 10,620 people, "which generated obvious risk for the physical safety of those present".
It said Flores had ordered the closure of exit routes and stairs and had sacrificed security "with the aim of making the biggest possible economic gain".
Amateur videos and photographs of the crush, which began as the party's star DJ started his turn, showed partygoers piling on top of each other as they squeezed into a narrow corridor.
Spanish television broadcast recordings of calls to emergency services made by distraught friends of injured victims, in which an operator told them ambulances were unable to reach the arena due to crowds around it.