I believe that the original id is stored somewhere as well since there is i fediverse icon that takes one to the original. You can probably use that id when searching your db.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: