How big is the database? It could be that MySQL itself isn’t properly tuned for the amount of data that you have. The default MySQL settings are ok for general workloads.
Moved to a better hosted service. Seems you were right The new server has much better setup for MySQL it must seem because as soon as we migrated over the issue went away.
Looks like whatever XAMPP’s settings are its not enough for an airline with over 500 Members and around 20-30flights submitted daily.