The subscription site Roots Ireland also has an October 9 1836 baptismal record for a John Anthony with Thomas Anthony and Margaret Hearns as parents.
I did not locate a marriage record.
Roots Ireland does have a September 7 1791 baptismal record in Castledermot for a Thomas Anthony with parents Thomas Anthony and Catherine Byrne. I did not see a likely baptismal record for Margaret Hearns in Co. Kildare. The earliest record available was in 1826.
The Griffiths Valuation head of household record from the early 1850s has a Thomas Anthony in Levitstown townland in Dunmanoge civil parish. People who live in Dunmanoge parish would have attended Castledermot RC parish. Not sure if this record is for your Thomas Anthony.