SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e9f55869694a1b9f280502ebe1fbefe62ee74994f147880f4ce2b5490cce4c6a' 
  AND token = 'rsr7hFAAKojBMNSjGXzI9xqe4U4TRedxCglLNKNBbtk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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