SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}Bad{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}Bad{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}' OR prCountry = 'Bad') AND (prLocation LIKE '{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}Laasphe{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}' OR prCity = 'Laasphe' OR prZip = 'Laasphe' OR prStreet LIKE '{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}Laasphe{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}' OR prCountry = 'Laasphe') AND (prLocation LIKE '{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}Germany{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}Germany{80e0d20228d9d5490555ce7a5807c60ac7d0e40d964524b559d1c8051161a1d3}' OR prCountry = 'Germany')