Catalyzes the ATP-dependent dehydration of threonylcarbamoyladenosine at position 37 (t(6)A37) to form cyclic t(6)A37 (ct(6)A37) in tRNAs that read codons beginning with adenine. Belongs to the HesA/MoeB/ThiF family.