SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{5f6decfa970f9b845ebe4b62902e32c2b813ef88cc91bc40159e0120dad43322}Reichstädt{5f6decfa970f9b845ebe4b62902e32c2b813ef88cc91bc40159e0120dad43322}' OR prCity = 'Reichstädt' OR prZip = 'Reichstädt' OR prStreet LIKE '{5f6decfa970f9b845ebe4b62902e32c2b813ef88cc91bc40159e0120dad43322}Reichstädt{5f6decfa970f9b845ebe4b62902e32c2b813ef88cc91bc40159e0120dad43322}' OR prCountry = 'Reichstädt') AND (prLocation LIKE '{5f6decfa970f9b845ebe4b62902e32c2b813ef88cc91bc40159e0120dad43322}Germany{5f6decfa970f9b845ebe4b62902e32c2b813ef88cc91bc40159e0120dad43322}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{5f6decfa970f9b845ebe4b62902e32c2b813ef88cc91bc40159e0120dad43322}Germany{5f6decfa970f9b845ebe4b62902e32c2b813ef88cc91bc40159e0120dad43322}' OR prCountry = 'Germany')