How to Validate data on 2 tables

I have a search for an action step which I need to check it exists in the database.
I can get it to work with one but I have 2 columns I need to search

Example

Input (either SKU or Barcode)

Action Steps
Database Connection
Validate (Input) - I need this to be able to validate 2 columns (SKU & Barcode) but I can only have one option in the app connect validator.
Database query (Input)

Community Page
Last updated: