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