Hey,
This problem seems to be unique. There might not be a standard solution.
https://github.com/jazzband/django-silk
You can replicate the prod environment to local and profile it using django silk.
If you can somehow manage to reproduce the bug and find the timestamp when it happened;
you can find out the sql queries that were running around that timestamp.
You might be able to find out the root cause of the problem and fix it.
I am not 100% sure if it will help. But it is worth a try.
I hope it helps you.
Thanks!
Regards,
Chetan Ganji
+91-900-483-4183