SELECT count(*) FROM tbl_1
LEFT JOIN tbl_2 ON (tbl_1.id = tbl_2.id)
WHERE tbl_1.param_1 = param
AND tbl_2.param_1 = param_1
AND tbl_2.param_2 = param_2
+----+-------------+-------+--------+---------------------+---------+---------+-
---------------+-------+------------------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+-------+--------+---------------------+---------+---------+-
---------------+-------+------------------------------------+
| 1 | SIMPLE | tbl_2 | ref | id,param_1, param_2 | param_1 | 302 | const | 82293 | Using index condition; Using where |
| 1 | SIMPLE | tbl_1 | eq_ref | PRIMARY, param | PRIMARY | 4 | tbl_2.id | 1 | Using index condition; Using where |
+----+-------------+-------+--------+---------------------+---------+---------+-
---------------+-------+------------------------------------+