Create an relationship index on :PAGA(idFattura)
If that index is used then you should see it in EXPLAIN of your query
Question would also why is the invoice a relationship and not a node?
Also what's the memory config of your database? Could be that you have too little memory (or a too slow disk) to write the transaction quickly.