Martin Thomas, 25, has been sentenced to 54 months in prison after messaging profiles he believed were children under 16