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