SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}Simbach{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}' OR prCity = 'Simbach' OR prZip = 'Simbach' OR prStreet LIKE '{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}Simbach{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}' OR prCountry = 'Simbach') AND (prLocation LIKE '{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}am{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}' OR prCity = 'am' OR prZip = 'am' OR prStreet LIKE '{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}am{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}' OR prCountry = 'am') AND (prLocation LIKE '{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}Inn{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}' OR prCity = 'Inn' OR prZip = 'Inn' OR prStreet LIKE '{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}Inn{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}' OR prCountry = 'Inn') AND (prLocation LIKE '{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}Germany{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}Germany{798c99cbb3200947be831fb4b46594f418ef3943a271cbacdfa91d419555592a}' OR prCountry = 'Germany')