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