I found only how to log all Querys or Slow Querys. But not now to log "unindexed" or how to mark them in the logfiles. I think it is neccessarry to run explain on all potential querys to so see which ones are affected.
I can tell this only from the innodb performance counters reporting this. And also the tool "mysqltuner" gave this hint like listed here:
https://wiki.zoneminder.com/MySQL
What would be the biggest gain, is to think if you really need transactions?
Its not a critical banking system with accounts, where multiple querys need to be a transaction.
Using MyISAM in MySQL is 10 Times faster and has way less writes.
And for decades it was enough data consistency for all applications on the internet.
Would be great, if "SSD Live concerend" users like me could just change the sceme from innodb to MyISAM and be happy.
But the Transaction brackets prevent this switch to MyISAM.
Currently its a single process per camera doing the inserts and updates on events for this camera.
So there can never be a conflict which makes transactions neccessarry, because there are never two processes working on the same data.