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