Got error 28 from storage engine
SELECT DISTINCT u.* FROM am_users u INNER JOIN am_users_to_categories utoc ON u.id=utoc.users_id WHERE u.ustatus=1 AND utoc.categories_id IN (7,8,9,10,11,12,29,30) ORDER BY u.id DESC LIMIT 0,5