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