SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17c3839e1e5335c45c0e3c857c2f6b23ffd99c69b7ed2955a18b90f3cf181846' 
  AND token = 'N3BuDQUVE6UZFgN9T64IumIxwpFFG8gETHbJPLrsFDU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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