SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{2b763910f72293cec25120081736ce336476998e8014985dc68714e681f37400}Rafal{2b763910f72293cec25120081736ce336476998e8014985dc68714e681f37400}' OR prCity = 'Rafal' OR prZip = 'Rafal' OR prStreet LIKE '{2b763910f72293cec25120081736ce336476998e8014985dc68714e681f37400}Rafal{2b763910f72293cec25120081736ce336476998e8014985dc68714e681f37400}' OR prCountry = 'Rafal') AND (prLocation LIKE '{2b763910f72293cec25120081736ce336476998e8014985dc68714e681f37400}Spain{2b763910f72293cec25120081736ce336476998e8014985dc68714e681f37400}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{2b763910f72293cec25120081736ce336476998e8014985dc68714e681f37400}Spain{2b763910f72293cec25120081736ce336476998e8014985dc68714e681f37400}' OR prCountry = 'Spain')