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