current_id = self.safe_sql("""SELECT max(id) FROM tx_seq""");
If the table is indexed properly, it should be just as fast, too. I'll try it on my node later and let you know how it works.
I tried that first but I got a tuple error of some kind. Let me know if you have more luck.