SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3682a4b9ebb551529a90638b69260b8c8ce8e3f26844d145bc10bbcd5decf4f2}Odenthal{3682a4b9ebb551529a90638b69260b8c8ce8e3f26844d145bc10bbcd5decf4f2}' OR prCity = 'Odenthal' OR prZip = 'Odenthal' OR prStreet LIKE '{3682a4b9ebb551529a90638b69260b8c8ce8e3f26844d145bc10bbcd5decf4f2}Odenthal{3682a4b9ebb551529a90638b69260b8c8ce8e3f26844d145bc10bbcd5decf4f2}' OR prCountry = 'Odenthal') AND (prLocation LIKE '{3682a4b9ebb551529a90638b69260b8c8ce8e3f26844d145bc10bbcd5decf4f2}Germany{3682a4b9ebb551529a90638b69260b8c8ce8e3f26844d145bc10bbcd5decf4f2}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{3682a4b9ebb551529a90638b69260b8c8ce8e3f26844d145bc10bbcd5decf4f2}Germany{3682a4b9ebb551529a90638b69260b8c8ce8e3f26844d145bc10bbcd5decf4f2}' OR prCountry = 'Germany')