select * from tb_snippet where sn_author=1 and sn_type=23 and true order by sn_created desc limit 1;