SELECT * FROM tablename WHERE `active`=’1′ AND `id` IN (‘107’ , ‘125’ ) ORDER BY `id` DESC LIMIT 12