SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '181e2eeaabc4c25848be5bafc1a5fbe159b587519f8e99196f3e3ae4d391007b' 
  AND token = 'Q1LHQ+bLJ37RMjLjg+ot657veWITkIN8j1ajZ9Z4bQ4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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