SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6862686ccb70751a65f8952061b57bbb84ee14eb88199d95e339cc3a8c108589' 
  AND token = 'smhic7r3TXh5GpaYgc4hBxCu5josFmyASzwHD4mOXa0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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