You need to know what the fields are for:
options_id
options_values_id

Then you can set the field:
attributes_display_only

to 1 for being Display Only YES ...

Be sure that you backup your database first and you can use something like:
PHP Code:
UPDATE products_attributes SET attributes_display_only 1 WHERE options_id XX and options_values_id YY
This can be run in the Tools ... Insert SQL Patches ...