SELECT * FROM tablom
WHERE 1 = 1
AND ( tablom.sehir LIKE ? OR tablom.semt LIKE ? )