SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d88703461d8d2d65bb04f4df7e41140ef44edd75053dc92fcc9b8abbac38d081}Berlin-Spandau{d88703461d8d2d65bb04f4df7e41140ef44edd75053dc92fcc9b8abbac38d081}' OR prCity = 'Berlin-Spandau' OR prZip = 'Berlin-Spandau' OR prStreet LIKE '{d88703461d8d2d65bb04f4df7e41140ef44edd75053dc92fcc9b8abbac38d081}Berlin-Spandau{d88703461d8d2d65bb04f4df7e41140ef44edd75053dc92fcc9b8abbac38d081}' OR prCountry = 'Berlin-Spandau') AND (prLocation LIKE '{d88703461d8d2d65bb04f4df7e41140ef44edd75053dc92fcc9b8abbac38d081}Germany{d88703461d8d2d65bb04f4df7e41140ef44edd75053dc92fcc9b8abbac38d081}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d88703461d8d2d65bb04f4df7e41140ef44edd75053dc92fcc9b8abbac38d081}Germany{d88703461d8d2d65bb04f4df7e41140ef44edd75053dc92fcc9b8abbac38d081}' OR prCountry = 'Germany')