select * from `cars` where
(TRIM(REPLACE(`oilcode`,'-','')) = 'A0669') or
(TRIM(REPLACE(`aircode`,'-','')) = 'A0669') or
(TRIM(REPLACE(`fuelcode`,'-','')) = 'A0669') or
(TRIM(REPLACE(`cabincode`,'-','')) = 'A0669') or
(TRIM(REPLACE(`otherCode`,'-','')) like '%~A0669~%') or
(TRIM(REPLACE(`oilcode`,'-','')) like '%~A0669~%') or
(TRIM(REPLACE(`aircode`,'-','')) like '%~A0669~%') or
(TRIM(REPLACE(`fuelcode`,'-','')) like '%~A0669~%') or
(TRIM(REPLACE(`cabincode`,'-','')) like '%~A0669~%')
or TRIM(REPLACE(`oiloem`,'-','')) = '1016012725' or
TRIM(REPLACE(`airoem`,'-','')) = '1016012725' or
TRIM(REPLACE(`fueloem`,'-','')) = '1016012725' or
TRIM(REPLACE(`cabinoem`,'-','')) = '1016012725'
ORDER BY `cars`.`uin` ASC