SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}Schacht{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}' OR prCity = 'Schacht' OR prZip = 'Schacht' OR prStreet LIKE '{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}Schacht{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}' OR prCountry = 'Schacht') AND (prLocation LIKE '{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}Audorf{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}' OR prCity = 'Audorf' OR prZip = 'Audorf' OR prStreet LIKE '{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}Audorf{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}' OR prCountry = 'Audorf') AND (prLocation LIKE '{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}Germany{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}Germany{1242f4112c504bf2709cc0a7f744ae7a8bee93464e8b505b0c3fe2f7b8a033b8}' OR prCountry = 'Germany')