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