select id from category where LCASE(link)='pain relief' or LCASE(name)='pain relief'