SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '545c5681920cca74930a49c2b5ebf4e2c6df2327547b98edec4fc4613256d0a2' 
  AND token = 'ywXAcAFzL+2GtD6yosbETCxnr0eXJSfK97U+DX7jmi4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}