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