you will probably want to use radio button instead of checkboxes.
Probably the simplest way to make this work will be to get it working with a select list fist. Once the search is working with a select list, make not of the select list name, then delete it and replace it with a radio group.
make sure the radio group has the same name and set the value form each radio button to be the value in the database.