SELECT SQL_CALC_FOUND_ROWS sno, property_id, saleprice, user_code, propertyfor, proptype, sel_dist, sel_loca, locality, post_date, pactive, total_land, saleprice, const_area, bed, bath, furnishing, thumb FROM post_property where pactive > 0 and propertyfor = 'sale' and proptype like '%Shop For Sale In Residential Land For Sale In Commercial Land%' and ( (locality like '%rules-policies/images/chat/js/js/search-variables.js%' or sel_loca like '%rules-policies/images/chat/js/js/search-variables.js%' or sel_dist like '%rules-policies/images/chat/js/js/search-variables.js%') ) ORDER BY sno desc Limit 0, 16