SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}Andratx{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCity = 'Andratx' OR prZip = 'Andratx' OR prStreet LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}Andratx{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCountry = 'Andratx') AND (prLocation LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}/{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}/{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCountry = '/') AND (prLocation LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}Sant{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCity = 'Sant' OR prZip = 'Sant' OR prStreet LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}Sant{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCountry = 'Sant') AND (prLocation LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}Elm{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCity = 'Elm' OR prZip = 'Elm' OR prStreet LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}Elm{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCountry = 'Elm') AND (prLocation LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}Spain{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}Spain{0e76f319d8ee8de80e8bae087a6d8690738691b2222db02749456a324f17e8b6}' OR prCountry = 'Spain')