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