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