SELECT * FROM `oc_activity` WHERE (`affecteduser` = 'Melissa Barquero') AND (`type` IN ('file_created', 'file_changed', 'file_deleted', 'file_restored', 'file_renamed', 'file_moved', 'shared', 'remote_share', 'public_links', 'comments', 'systemtags')) AND (`object_type` = 'files') AND (`object_id` = '99533') ORDER BY `timestamp` DESC, `activity_id` DESC LIMIT 51