SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND wp_posts.ID NOT IN (1338) AND (
0 = 1
) AND wp_posts.post_type = 'listing' AND ((wp_posts.post_status = 'publish')) AND wp_posts.ID in (select pm.post_id from wp_postmeta pm where pm.meta_key ='post_city_id' and FIND_IN_SET( 4, pm.meta_value )) AND (wp_posts.ID in (641,520,523,1324,838,942,292,465,1630,528,648,304,1315,1480,1643,948,374,489,1055,467,1050,1053,1065,1083,1641,962,548,696,282,1071,954,412,893,946,494,296,1078,1148,1601,956,437,854,919,944,952,656,1060,1086,1216,1373,1674,897,550,666,687,300,1487,125,127,129,131,534,386,1377,1624,1676,130,885,917,562,425,288,1062,1333,808,377,276,1388,1425,1541,506,683,278,1349,1534,693,1131,1508,704,439,662,685,280,1122,1285,136,515,691,1076,931,700,389,881,323,1272,353,1169,1357,891,902,936,680,676,669,473,1394,836,933,415,659,653,672,316,806,889,913,950,800,431,471,1370,1458,873,915,875,877,923,383,434,492,645,454,330,1099,1648,852,347,1233,1236,135,825,840,362,459,306,1154,1228,929,338,1002,1048,1096,1200,1296,410,1143,1457,1469,1669,134,865,512,518,1040,1634,871,559,1224,802,958,1000,1261,1489,1562,904,964,794,798,813,819,830,856,860,862,938,940,1531,539,1042,1119,1163,355,1008,1010,1032,1046,1035,1211,124,126,133,810,842,408,821,960,503,398,332,1150,1246,1525,1555,906,419,428,483,325,895,294,308,1029,1172,1193,1226,1081,1014,546,921,274,858,541,360,526,1016,1018,1038,1221,553,1219,887,544,1529,319,1124,1537,702,334,321,1299,1108,664,1405,1463,351,298,925,406,461,530,486,286,832,910,302,1020,1103,1186,1207,1568,883,341,404,394,1126,328,1068,1204,804,899,908,367,1093,1304,132,343,380,128,815,469,312,796,1564,371,314,1251,1355,1399,1413,1437,817,643,1074,1477,310,1553,1483,792,336,1291,1257,1270,927,456,1044,1116,1538,823,556,1182,651,1518,1579,1616,290,1570,1558,1146,1152,1166,1473,1175,349,1263,828,1267,869,1026,1231,1347,879,358,345,689,1134,422,844,1023,402,1265,1572,1652,463,1524,537,1486,1248,1253,1259,396,392,1241,475,532,480,400,1238,497,501,478,1255,1090,1141)) GROUP BY wp_posts.ID ORDER BY RAND() LIMIT 0, 3