DELETE FROM `devices_mibs` WHERE (`table_name` != '' OR `oid` != '') AND `disabled` = 1
