SELECT * FROM table as a JOIN table as b ON CONCAT( 'a.param1', 'a.param2', 'a.param3') = CONCAT( 'b.param1', 'b.param2', 'b.param3') WHERE a.id = '1';
SELECT * FROM table as a JOIN table as b ON a.param1 = b.param1 AND a.param2 = b.param2 AND a.param3 = b.param3 WHERE a.id = '1';