It's been awhile since I dug around the database, this is rough and might not work but it looks ok - Somebody can probably chime in if my syntax is screwy..
Code:
update items set augslot2type=7 and augslot2visible=1 where augslot1type>0 and augslot2type=0 and reqlevel>54 AND damage=0
update items set augslot3type=7 and augslot3visible=1 where augslot2type>0 and augslot3type=0 and reqlevel>64 AND damage=0
You'll need to change the 7's to the bitmask for augtypes you want in there. Fingers crossed it helps or at least points you in the right direction. Damage=0 should make it ignore weapons, although I'm not sure how it'll play with other non-equipment items - could always add in a "and ac>0" to the end.. except augs might end up getting augslots. Augception.