As I've said on numerous occasions (and summed up here), speeding up business applications comes down to reducing the number of trips to the database and optimizing your server-side data access once ...
Once it passes those validations, no more errors are expected and you can pump it over in one statement (well, could be an insert, a delete and maybe even a delete) to the final table. Since no more ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results