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