In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
CREATE INDEX tablea_idx_otherid ON TableA (OtherID);
CREATE INDEX tableb_idx_id ON TableB (ID);
SELECT
B.ID,
B.FirstName,
B.LastName
FROM
TableA AS A
JOIN
TableB AS B
ON A.ID = B.ID
WHERE
A.OtherID = @Input