select id from content where statusid=1 and siteid=1 and id in(select contentid from content_properties where typeid=5 and propertyid =245654) order by publisheddate desc limit 90,10;select count(*) totalcount from content where statusid=1 and siteid=1 and id in(select contentid from content_properties where typeid=5 and propertyid =245654) order by publisheddate desc