SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6ea583ef55534d11f784b75af536ef16ce3be57888a46ffa4e205aefff9c5ae7}Porec{6ea583ef55534d11f784b75af536ef16ce3be57888a46ffa4e205aefff9c5ae7}' OR prCity = 'Porec' OR prZip = 'Porec' OR prStreet LIKE '{6ea583ef55534d11f784b75af536ef16ce3be57888a46ffa4e205aefff9c5ae7}Porec{6ea583ef55534d11f784b75af536ef16ce3be57888a46ffa4e205aefff9c5ae7}' OR prCountry = 'Porec') AND (prLocation LIKE '{6ea583ef55534d11f784b75af536ef16ce3be57888a46ffa4e205aefff9c5ae7}Croatia{6ea583ef55534d11f784b75af536ef16ce3be57888a46ffa4e205aefff9c5ae7}' OR prCity = 'Croatia' OR prZip = 'Croatia' OR prStreet LIKE '{6ea583ef55534d11f784b75af536ef16ce3be57888a46ffa4e205aefff9c5ae7}Croatia{6ea583ef55534d11f784b75af536ef16ce3be57888a46ffa4e205aefff9c5ae7}' OR prCountry = 'Croatia')